Skip to content

Document breaking changes for completion and context suggester#17972

Merged
areek merged 2 commits intoelastic:masterfrom
areek:docs/completion_suggester
Apr 26, 2016
Merged

Document breaking changes for completion and context suggester#17972
areek merged 2 commits intoelastic:masterfrom
areek:docs/completion_suggester

Conversation

@areek
Copy link
Contributor

@areek areek commented Apr 26, 2016

breaking changes for #14410

@areek areek added >docs General docs changes review :Search Relevance/Suggesters "Did you mean" and suggestions as you type v5.0.0-alpha2 labels Apr 26, 2016
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd replace this para with:

The completion suggester has undergone a complete rewrite. This means that the
syntax and data structure for fields of type `completion` have changed, as
have the syntax and response of completion suggester requests.

For indices created before Elasticsearch 5.0.0, `completion` fields and the
completion suggester will continue to work as they did in Elasticsearch 2.x.
However, it is not possible to run a completion suggester query across indices
created in 2.x and indices created in 5.x.

It is strongly recommended to reindex indices containing 2.x `completion`
fields in 5.x to take advantage of the new features listed below.

NOTE: You will need to change the structure of the completion field values
when reindexing.

@clintongormley
Copy link
Contributor

Small suggestions, other than that LGTM. Thanks for the good writeup

@areek areek force-pushed the docs/completion_suggester branch from 272f81b to cc99b24 Compare April 26, 2016 14:15
@areek areek merged commit afacc18 into elastic:master Apr 26, 2016
@areek
Copy link
Contributor Author

areek commented Apr 26, 2016

Thanks @clintongormley for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>docs General docs changes :Search Relevance/Suggesters "Did you mean" and suggestions as you type v5.0.0-alpha3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants