Class FieldQuery.QueryPhraseMap
- java.lang.Object
-
- org.apache.lucene.search.vectorhighlight.FieldQuery.QueryPhraseMap
-
- Enclosing class:
- FieldQuery
public static class FieldQuery.QueryPhraseMap extends java.lang.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 float
getBoost()
int
getSlop()
FieldQuery.QueryPhraseMap
getTermMap(java.lang.String term)
int
getTermOrPhraseNumber()
boolean
isTerminal()
boolean
isValidTermOrPhrase(java.util.List<FieldTermStack.TermInfo> phraseCandidate)
FieldQuery.QueryPhraseMap
searchPhrase(java.util.List<FieldTermStack.TermInfo> phraseCandidate)
-
-
-
Constructor Detail
-
QueryPhraseMap
public QueryPhraseMap(FieldQuery fieldQuery)
-
-
Method Detail
-
getTermMap
public FieldQuery.QueryPhraseMap getTermMap(java.lang.String term)
-
isTerminal
public boolean isTerminal()
-
getSlop
public int getSlop()
-
getBoost
public float getBoost()
-
getTermOrPhraseNumber
public int getTermOrPhraseNumber()
-
searchPhrase
public FieldQuery.QueryPhraseMap searchPhrase(java.util.List<FieldTermStack.TermInfo> phraseCandidate)
-
isValidTermOrPhrase
public boolean isValidTermOrPhrase(java.util.List<FieldTermStack.TermInfo> phraseCandidate)
-
-