Class CategoryContextMapping.Builder

java.lang.Object
org.elasticsearch.search.suggest.completion.context.ContextBuilder<CategoryContextMapping>
org.elasticsearch.search.suggest.completion.context.CategoryContextMapping.Builder
Enclosing class:
CategoryContextMapping

public static class CategoryContextMapping.Builder
extends ContextBuilder<CategoryContextMapping>
  • Field Summary

    Fields inherited from class org.elasticsearch.search.suggest.completion.context.ContextBuilder

    name
  • Constructor Summary

    Constructors
    Constructor Description
    Builder​(java.lang.String name)
    Create a builder for a named CategoryContextMapping
  • Method Summary

    Modifier and Type Method Description
    CategoryContextMapping build()  
    CategoryContextMapping.Builder field​(java.lang.String fieldName)
    Set the name of the field to use

    Methods inherited from class org.elasticsearch.search.suggest.completion.context.ContextBuilder

    category, geo

    Methods inherited from class java.lang.Object

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