Class DirectSpellcheckerSettings

java.lang.Object
org.elasticsearch.search.suggest.DirectSpellcheckerSettings

public class DirectSpellcheckerSettings extends Object
  • Field Details

    • DEFAULT_SUGGEST_MODE

      public static org.apache.lucene.search.spell.SuggestMode DEFAULT_SUGGEST_MODE
    • DEFAULT_ACCURACY

      public static float DEFAULT_ACCURACY
    • DEFAULT_SORT

      public static SortBy DEFAULT_SORT
    • DEFAULT_STRING_DISTANCE

      public static org.apache.lucene.search.spell.StringDistance DEFAULT_STRING_DISTANCE
    • DEFAULT_MAX_EDITS

      public static int DEFAULT_MAX_EDITS
    • DEFAULT_MAX_INSPECTIONS

      public static int DEFAULT_MAX_INSPECTIONS
    • DEFAULT_MAX_TERM_FREQ

      public static float DEFAULT_MAX_TERM_FREQ
    • DEFAULT_PREFIX_LENGTH

      public static int DEFAULT_PREFIX_LENGTH
    • DEFAULT_MIN_WORD_LENGTH

      public static int DEFAULT_MIN_WORD_LENGTH
    • DEFAULT_MIN_DOC_FREQ

      public static float DEFAULT_MIN_DOC_FREQ
  • Constructor Details

    • DirectSpellcheckerSettings

      public DirectSpellcheckerSettings()
  • Method Details

    • suggestMode

      public org.apache.lucene.search.spell.SuggestMode suggestMode()
    • suggestMode

      public void suggestMode(org.apache.lucene.search.spell.SuggestMode suggestMode)
    • accuracy

      public float accuracy()
    • accuracy

      public void accuracy(float accuracy)
    • sort

      public SortBy sort()
    • sort

      public void sort(SortBy sort)
    • stringDistance

      public org.apache.lucene.search.spell.StringDistance stringDistance()
    • stringDistance

      public void stringDistance(org.apache.lucene.search.spell.StringDistance distance)
    • maxEdits

      public int maxEdits()
    • maxEdits

      public void maxEdits(int maxEdits)
    • maxInspections

      public int maxInspections()
    • maxInspections

      public void maxInspections(int maxInspections)
    • maxTermFreq

      public float maxTermFreq()
    • maxTermFreq

      public void maxTermFreq(float maxTermFreq)
    • prefixLength

      public int prefixLength()
    • prefixLength

      public void prefixLength(int prefixLength)
    • minWordLength

      public int minWordLength()
    • minWordLength

      public void minWordLength(int minWordLength)
    • minDocFreq

      public float minDocFreq()
    • minDocFreq

      public void minDocFreq(float minDocFreq)
    • createDirectSpellChecker

      public org.apache.lucene.search.spell.DirectSpellChecker createDirectSpellChecker()
    • toString

      public String toString()
      Overrides:
      toString in class Object