summaryrefslogtreecommitdiff
path: root/core/src/main/java/org/elasticsearch/search/suggest/completion/context/CategoryContextMapping.java
diff options
context:
space:
mode:
authorChristoph Büscher <christoph@elastic.co>2016-02-02 15:48:27 +0100
committerChristoph Büscher <christoph@elastic.co>2016-02-10 18:57:27 +0100
commit9e0f6e3f9c3ba7a539dcb9366529db5ab3295d61 (patch)
tree00a5f8b86fc78b8510c428888aa1011931fa18b9 /core/src/main/java/org/elasticsearch/search/suggest/completion/context/CategoryContextMapping.java
parent421ed1228b545a07db4710f0ee56959d70e64d45 (diff)
Adding method to build SuggestionContext to PhraseSuggestionBuilder
This adds a build method for the SuggestionContext to the PhraseSuggestionBuilder and another one that creates the SuggestionSearchContext to the top level SuggestBuilder. Also adding tests that make sure the current way of parsing xContent to a SuggestionContext is reflected in the output the builders create.
Diffstat (limited to 'core/src/main/java/org/elasticsearch/search/suggest/completion/context/CategoryContextMapping.java')
0 files changed, 0 insertions, 0 deletions