org.apache.lucene.search.vectorhighlight
Class FieldQuery
java.lang.Object
org.apache.lucene.search.vectorhighlight.FieldQuery
public class FieldQuery
- extends Object
FieldQuery breaks down query object into terms/phrases and keeps
them in a QueryPhraseMap structure.
Nested Class Summary |
static class |
FieldQuery.QueryPhraseMap
Internal structure of a query for highlighting: represents
a nested query structure |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getFieldTermMap
public FieldQuery.QueryPhraseMap getFieldTermMap(String fieldName,
String term)
- Returns:
- QueryPhraseMap
searchPhrase
public FieldQuery.QueryPhraseMap searchPhrase(String fieldName,
List<FieldTermStack.TermInfo> phraseCandidate)
- Returns:
- QueryPhraseMap
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.