Java org.apache.lucene.search.suggest.document ContextQuery fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.search.suggest.document ContextQuery fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.search.suggest.document ContextQuery.

The text is from its open source code.

Constructor

ContextQuery(CompletionQuery query)
Constructs a context completion query that matches documents specified by query.

Method

voidaddContext(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