# Uses of Class
org.apache.lucene.search.suggest.BitsProducer

Packages that use BitsProducer
Package
Description
org.apache.lucene.search.suggest.document
Support for document suggestion

## Uses of BitsProducer in org.apache.lucene.search.suggest.document

Methods in org.apache.lucene.search.suggest.document that return BitsProducer
Modifier and Type
Method
Description
`BitsProducer`
CompletionQuery.`getFilter()`
Returns a `BitsProducer`.
Constructors in org.apache.lucene.search.suggest.document with parameters of type BitsProducer
Modifier
Constructor
Description
`protected`
`CompletionQuery(Term term, BitsProducer filter)`
Creates a base Completion query against a `term` with a `filter` to scope the documents
``
`FuzzyCompletionQuery(Analyzer analyzer, Term term, BitsProducer filter)`
Calls `FuzzyCompletionQuery(Analyzer, Term, BitsProducer, int, boolean, int, int, boolean, int)` with defaults for `maxEdits`, `transpositions` , `nonFuzzyPrefix`, `minFuzzyLength`, `unicodeAware` and `determinizeWorkLimit` See `FuzzyCompletionQuery.DEFAULT_MAX_EDITS`, `FuzzyCompletionQuery.DEFAULT_TRANSPOSITIONS`, `FuzzyCompletionQuery.DEFAULT_NON_FUZZY_PREFIX`, `FuzzyCompletionQuery.DEFAULT_MIN_FUZZY_LENGTH`, `FuzzyCompletionQuery.DEFAULT_UNICODE_AWARE` and `Operations.DEFAULT_DETERMINIZE_WORK_LIMIT` for defaults
``
`FuzzyCompletionQuery(Analyzer analyzer, Term term, BitsProducer filter, int maxEdits, boolean transpositions, int nonFuzzyPrefix, int minFuzzyLength, boolean unicodeAware, int determinizeWorkLimit)`
Constructs an analyzed fuzzy prefix completion query
``
`PrefixCompletionQuery(Analyzer analyzer, Term term, BitsProducer filter)`
Constructs an analyzed prefix completion query
``
`RegexCompletionQuery(Term term, int flags, int determinizeWorkLimit, BitsProducer filter)`
Constructs a regular expression completion query
``
`RegexCompletionQuery(Term term, BitsProducer filter)`
Calls `RegexCompletionQuery(Term, int, int, BitsProducer)` enabling all optional regex syntax and `determinizeWorkLimit` of 10000