Query Interpreter Lucene parses the query string and produces an object representation; this is the input for QueryInterpreter . Object representation is a composition made from types extending Lucene's Query class. Each reflects part of the query string. The following table shows selected query types. Some represent restrictions; others are logical conditions. Query Type BooleanQuery WildcardQuery PhraseQuery TermQuery . Now you know everything that is necessary to start implementing QueryInterpreter . First, we create a template method to understand what information the TermQuery As you see,
Read full article from Using the Lucene Query Parser Without Lucene - O'Reilly Media
No comments:
Post a Comment