QueryParser interprets Lucene query syntax and converts it into executable search commands for full-text search. It supports logical operators such as AND, OR, and NOT. section 11.2
Supported query forms include:
- term and phrase searches locate individual words or exact word sequences. section 11.2
- wildcard, fuzzy, and proximity searches handle partial words, spelling variation, and nearby terms. section 11.2
- range searches filter numbers, dates, and other ordered values. section 11.2
Searching vendor records
A query such as "Mobile Food Vendor - 881 PALMER AVE" is divided into searchable tokens. Matching those tokens against the inverted index can return only the document containing both the sector and street terms, with a high score for the precise match. section 11.2
