Method Search.Query.execute()
- Method
execute
array(Search.ResultSet|array(string)) execute(Search.Database.Basedb,Search.Grammar.AbstractParserparser,stringquery,Search.RankingProfileranking,void|array(string)stop_words,search_order|voidorder)- Parameter
query The query string entered by user.
- Parameter
db The search database.
- Parameter
defaultRanking Used when searching in the field "any:".
- Returns
An array with three elements:
Array Search.ResultSet0The ResultSet containing the hits.
array(string)1All wanted words in the query. (I.e. not the words that were preceded by minus.)
array(mapping)2All wanted globs in the query. (I.e. not the globs that were preceded by minus.)