Class TermVectorsFilter
java.lang.Object
org.elasticsearch.action.termvectors.TermVectorsFilter
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionTermVectorsFilter
(org.apache.lucene.index.Fields termVectorsByField, org.apache.lucene.index.Fields topLevelFields, Set<String> selectedFields) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
int
int
getScoreTerm
(org.apache.lucene.index.Term term) boolean
hasScoreTerm
(org.apache.lucene.index.Term term) void
void
setMaxDocFreq
(int maxDocFreq) void
setMaxNumTerms
(int maxNumTerms) void
setMaxTermFreq
(int maxTermFreq) void
setMaxWordLength
(int maxWordLength) void
setMinDocFreq
(int minDocFreq) void
setMinTermFreq
(int minTermFreq) void
setMinWordLength
(int minWordLength) void
setSettings
(TermVectorsRequest.FilterSettings settings) long
-
Field Details
-
DEFAULT_MAX_QUERY_TERMS
public static final int DEFAULT_MAX_QUERY_TERMS- See Also:
-
DEFAULT_MIN_TERM_FREQ
public static final int DEFAULT_MIN_TERM_FREQ- See Also:
-
DEFAULT_MAX_TERM_FREQ
public static final int DEFAULT_MAX_TERM_FREQ- See Also:
-
DEFAULT_MIN_DOC_FREQ
public static final int DEFAULT_MIN_DOC_FREQ- See Also:
-
DEFAULT_MAX_DOC_FREQ
public static final int DEFAULT_MAX_DOC_FREQ- See Also:
-
DEFAULT_MIN_WORD_LENGTH
public static final int DEFAULT_MIN_WORD_LENGTH- See Also:
-
DEFAULT_MAX_WORD_LENGTH
public static final int DEFAULT_MAX_WORD_LENGTH- See Also:
-
-
Constructor Details
-
TermVectorsFilter
-
-
Method Details
-
setSettings
-
getScoreTerm
-
hasScoreTerm
public boolean hasScoreTerm(org.apache.lucene.index.Term term) -
size
-
getMaxNumTerms
public int getMaxNumTerms() -
getMinTermFreq
public int getMinTermFreq() -
getMaxTermFreq
public int getMaxTermFreq() -
getMinDocFreq
public int getMinDocFreq() -
getMaxDocFreq
public int getMaxDocFreq() -
getMinWordLength
public int getMinWordLength() -
getMaxWordLength
public int getMaxWordLength() -
setMaxNumTerms
public void setMaxNumTerms(int maxNumTerms) -
setMinTermFreq
public void setMinTermFreq(int minTermFreq) -
setMaxTermFreq
public void setMaxTermFreq(int maxTermFreq) -
setMinDocFreq
public void setMinDocFreq(int minDocFreq) -
setMaxDocFreq
public void setMaxDocFreq(int maxDocFreq) -
setMinWordLength
public void setMinWordLength(int minWordLength) -
setMaxWordLength
public void setMaxWordLength(int maxWordLength) -
selectBestTerms
- Throws:
IOException
-