Class FieldQuery
- java.lang.Object
-
- org.apache.lucene.search.vectorhighlight.FieldQuery
-
public class FieldQuery extends java.lang.Object
FieldQuery breaks down query object into terms/phrases and keeps them in a QueryPhraseMap structure.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FieldQuery.QueryPhraseMap
Internal structure of a query for highlighting: represents a nested query structure
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldQuery.QueryPhraseMap
getFieldTermMap(java.lang.String fieldName, java.lang.String term)
FieldQuery.QueryPhraseMap
searchPhrase(java.lang.String fieldName, java.util.List<FieldTermStack.TermInfo> phraseCandidate)
-
-
-
Method Detail
-
getFieldTermMap
public FieldQuery.QueryPhraseMap getFieldTermMap(java.lang.String fieldName, java.lang.String term)
- Returns:
- QueryPhraseMap
-
searchPhrase
public FieldQuery.QueryPhraseMap searchPhrase(java.lang.String fieldName, java.util.List<FieldTermStack.TermInfo> phraseCandidate)
- Returns:
- QueryPhraseMap
-
-