summaryrefslogtreecommitdiff
path: root/core/src/main/java/org/elasticsearch/search/suggest/completion/context/CategoryContextMapping.java
AgeCommit message (Collapse)Author
2017-07-03Remove QueryParseContext (#25486)Christoph Büscher
QueryParseContext is currently only used as a wrapper for an XContentParser, so this change removes it entirely and changes the appropriate APIs that use it so far to only accept a parser instead.
2017-05-31Fix context suggester to read values from keyword type field (#24200)Masaru Hasegawa
Closes #24129
2017-04-12Allow different data types for category in Context suggester (#23491)Nilabh Sagar
The "category" in context suggester could be String, Number or Boolean. However with the changes in version 5 this is failing and only accepting String. This will have problem for existing users of Elasticsearch if they choose to migrate to higher version; as their existing Mapping and query will fail as mentioned in a bug #22358 This PR fixes the above mentioned issue and allows user to migrate seamlessly. Closes #22358
2016-04-15Pass down parse context instead of just parser in completion context suggester.Christoph Büscher
2016-03-29Remove PROTOTYPEs from suggestersNik Everett
Also stops using guice for suggesters at all and lots of checkstyle.
2016-03-09construct suggestion context from query contextAreek Zillur
2016-02-10initial refactoring of completion suggesterAreek Zillur
2015-12-18Remove wildcard importsRyan Ernst
2015-11-07add query context buildersAreek Zillur
2015-11-07cut over to using ObjectParser for context mappingsAreek Zillur
2015-11-07Completion Suggester V2Areek Zillur
The completion suggester provides auto-complete/search-as-you-type functionality. This is a navigational feature to guide users to relevant results as they are typing, improving search precision. It is not meant for spell correction or did-you-mean functionality like the term or phrase suggesters. The completions are indexed as a weighted FST (finite state transducer) to provide fast Top N prefix-based searches suitable for serving relevant results as a user types. closes #10746