Class FieldQuery.QueryPhraseMap
- java.lang.Object
-
- org.apache.lucene.search.vectorhighlight.FieldQuery.QueryPhraseMap
-
- Enclosing class:
- FieldQuery
public static class FieldQuery.QueryPhraseMap extends Object
Internal structure of a query for highlighting: represents a nested query structure
-
-
Constructor Summary
Constructors Constructor Description QueryPhraseMap(FieldQuery fieldQuery)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetBoost()intgetSlop()FieldQuery.QueryPhraseMapgetTermMap(String term)intgetTermOrPhraseNumber()booleanisTerminal()booleanisValidTermOrPhrase(List<FieldTermStack.TermInfo> phraseCandidate)FieldQuery.QueryPhraseMapsearchPhrase(List<FieldTermStack.TermInfo> phraseCandidate)
-
-
-
Constructor Detail
-
QueryPhraseMap
public QueryPhraseMap(FieldQuery fieldQuery)
-
-
Method Detail
-
getTermMap
public FieldQuery.QueryPhraseMap getTermMap(String term)
-
isTerminal
public boolean isTerminal()
-
getSlop
public int getSlop()
-
getBoost
public float getBoost()
-
getTermOrPhraseNumber
public int getTermOrPhraseNumber()
-
searchPhrase
public FieldQuery.QueryPhraseMap searchPhrase(List<FieldTermStack.TermInfo> phraseCandidate)
-
isValidTermOrPhrase
public boolean isValidTermOrPhrase(List<FieldTermStack.TermInfo> phraseCandidate)
-
-