Class TermVectorsFilter

java.lang.Object
org.elasticsearch.action.termvectors.TermVectorsFilter

public class TermVectorsFilter extends Object
  • Field Details

  • Constructor Details

    • TermVectorsFilter

      public TermVectorsFilter(org.apache.lucene.index.Fields termVectorsByField, org.apache.lucene.index.Fields topLevelFields, Set<String> selectedFields)
  • Method Details

    • setSettings

      public void setSettings(TermVectorsRequest.FilterSettings settings)
    • getScoreTerm

      public TermVectorsFilter.ScoreTerm getScoreTerm(org.apache.lucene.index.Term term)
    • hasScoreTerm

      public boolean hasScoreTerm(org.apache.lucene.index.Term term)
    • size

      public long size(String fieldName)
    • 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

      public void selectBestTerms() throws IOException
      Throws:
      IOException