Example usage for Java org.apache.lucene.search.suggest.document ContextQuery fields, constructors, methods, implement or subclass
The text is from its open source code.
ContextQuery(CompletionQuery query) Constructs a context completion query that matches documents specified by query . |
void | addContext(CharSequence context, float boost, boolean exact) Adds a context with boost, set exact to false if the context is a prefix of any indexed contexts |