Class SuggestionSearchContext.SuggestionContext

java.lang.Object
org.elasticsearch.search.suggest.SuggestionSearchContext.SuggestionContext
Direct Known Subclasses:
CompletionSuggestionContext
Enclosing class:
SuggestionSearchContext

public abstract static class SuggestionSearchContext.SuggestionContext extends Object
  • Constructor Details

  • Method Details

    • getText

      public org.apache.lucene.util.BytesRef getText()
    • setText

      public void setText(org.apache.lucene.util.BytesRef text)
    • getPrefix

      public org.apache.lucene.util.BytesRef getPrefix()
    • setPrefix

      public void setPrefix(org.apache.lucene.util.BytesRef prefix)
    • getRegex

      public org.apache.lucene.util.BytesRef getRegex()
    • setRegex

      public void setRegex(org.apache.lucene.util.BytesRef regex)
    • getSuggester

    • getAnalyzer

      public org.apache.lucene.analysis.Analyzer getAnalyzer()
    • setAnalyzer

      public void setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
    • getField

      public String getField()
    • setField

      public void setField(String field)
    • getSize

      public int getSize()
    • setSize

      public void setSize(int size)
    • getShardSize

      public Integer getShardSize()
    • setShardSize

      public void setShardSize(int shardSize)
    • getSearchExecutionContext

      public SearchExecutionContext getSearchExecutionContext()
    • toString

      public String toString()
      Overrides:
      toString in class Object