OPTION field_weights=(name=10,full_description=1), max_matches=10000, ranker=expr('sum((4*lcs+2*(min_hit_pos==1)+exact_hit)*user_weight)*1000+bm25')
public function __construct($id,$module = null)
{
$this->to_page = app()->user->getState('to_page', app()->params['to_page']);
parent::__construct($id, $module);
}
*/1 * * * * root /home/mybin/script.sh; /bin/sleep 15; /home/mybin/script.sh; /bin/sleep 15; /home/mybin/script.sh; /bin/sleep 15; /home/mybin/script.sh
$("#myTextField").autocomplete({
...
source: function( request ) { // Define source for AC data
..
$.ajax({ // Make Ajax call for AC data
...
success: function( data ) { // AC data returns
responseArray = $.map( data, function(item) { // build an array of hashmaps
..
return { label: item, customHTML: "<b>"+item+"</b>", classN: "someClassName"}; // "label" is inserted into text field when user selects it.
});
return responseArray;
}
}}