Class SuggestBuilders


  • public abstract class SuggestBuilders
    extends java.lang.Object
    A static factory for building suggester lookup queries
    • Constructor Summary

      Constructors 
      Constructor Description
      SuggestBuilders()  
    • Method Summary

      Modifier and Type Method Description
      static CompletionSuggestionBuilder completionSuggestion​(java.lang.String fieldname)
      Creates a completion suggestion lookup query with the provided field
      static PhraseSuggestionBuilder phraseSuggestion​(java.lang.String fieldname)
      Creates a phrase suggestion lookup query with the provided field
      static TermSuggestionBuilder termSuggestion​(java.lang.String fieldname)
      Creates a term suggestion lookup query with the provided field
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait