* (optional) SQL arguments for sorting the final results.
* Default: 'ORDER BY score DESC'
* Default: 'ORDER BY calculated_score DESC'
*
* @return
* An array of SIDs for the search results.
*
* @ingroup search
*/
functiondo_search($keywords,$type,$join1='',$where1='1 = 1',$arguments1=array(),$columns2='i.relevance AS score',$join2='',$arguments2=array(),$sort_parameters='ORDER BY score DESC'){
functiondo_search($keywords,$type,$join1='',$where1='1 = 1',$arguments1=array(),$columns2='i.relevance AS calculated_score',$join2='',$arguments2=array(),$sort_parameters='ORDER BY calculated_score DESC'){