setup a category for suggestions . see categorycontextmapping . concode_field_sep String globalText concode_elem_sep String suggester concode_elem_sep String field concode_elem_sep Integer size concode_elem_sep String analyzer concode_elem_sep String name concode_elem_sep Integer shardSize concode_elem_sep String text concode_elem_sep List<ContextQuery> contextQueries concode_elem_sep List<SuggestionBuilder<?>> suggestions concode_field_sep T addContextField concode_elem_sep T addContextField concode_elem_sep T addGeoLocationWithPrecision concode_elem_sep BytesReference buildAsBytes concode_elem_sep BytesReference buildAsBytes concode_elem_sep BytesReference buildAsBytes concode_elem_sep BytesReference buildAsBytes concode_elem_sep SuggestBuilder addSuggestion concode_elem_sep XContentBuilder innerToXContent concode_elem_sep T addContextQuery concode_elem_sep T field concode_elem_sep T size concode_elem_sep XContentBuilder toXContent concode_elem_sep XContentBuilder toXContent concode_elem_sep T analyzer concode_elem_sep T shardSize concode_elem_sep T text concode_elem_sep T addGeoLocation concode_elem_sep T addGeoLocation concode_elem_sep List<SuggestionBuilder<?>> getSuggestion concode_elem_sep SuggestBuilder setText
T function ( String arg0 , Iterable < ? extends CharSequence > arg1 ) { return addContextQuery ( CategoryContextMapping . query ( arg0 , arg1 ) ) ; }