Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
MultiPhraseQuery.Builder |
MultiPhraseQuery.Builder.add(Term term)
Add a single term at the next position in the phrase.
|
MultiPhraseQuery.Builder |
MultiPhraseQuery.Builder.add(Term[] terms)
Add multiple terms at the next position in the phrase.
|
MultiPhraseQuery.Builder |
MultiPhraseQuery.Builder.add(Term[] terms,
int position)
Allows to specify the relative position of terms within the phrase.
|
MultiPhraseQuery.Builder |
MultiPhraseQuery.Builder.setSlop(int s)
Sets the phrase slop for this query.
|
Modifier and Type | Method and Description |
---|---|
protected MultiPhraseQuery.Builder |
QueryBuilder.newMultiPhraseQueryBuilder()
Builds a new MultiPhraseQuery instance.
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.