Pike v8.1 release 6

Method Search.Grammar.AbstractParser()->create()


Method create

Search.Grammar.AbstractParser Search.Grammar.AbstractParser(void|mapping(string:mixed) options)

Parameter options
"implicit" : string

Either of the strings: "and", "or". If not supplied, default to "or".

"fields" : multiset(string)

The words that should be recognized as fields. If not supplied, it should default to Search.Grammar.getDefaultFields()