# Completion Suggester PREFIX

**URL:** <https://discuss.elastic.co/t/completion-suggester-prefix/65571>\
**Category:** Elasticsearch\
**Created:** [November 10, 2016, 12:13am UTC](https://discuss.elastic.co/t/completion-suggester-prefix/65571 "2016-11-10T00:13:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![p365labs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/p365labs/32/13075_2.png) [@p365labs](https://discuss.elastic.co/u/p365labs)\
**Post date:** [November 10, 2016, 12:13am UTC](https://discuss.elastic.co/t/completion-suggester-prefix/65571/1 "2016-11-10T00:13:30Z")

</div>

There's something I would like to understand about the suggester completion, it looks like  
that in \_search query "text" has been replaced by "prefix" in ES 5.0.  
I'm not able to verify it and most of all to find the document which explain it.

the other thing is that having a look at

SuggestionBuilder.java and there still present the "text" property [HERE](https://github.com/elastic/elasticsearch/blob/master/core/src/main/java/org/elasticsearch/search/suggest/SuggestionBuilder.java#L56)

and [HERE](https://github.com/elastic/elasticsearch/blob/master/core/src/main/java/org/elasticsearch/search/suggest/SuggestionBuilder.java#L352)

I didn't find any doc page which remove text property in favor of prefix, can you help me please ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 8, 2016, 12:13am UTC](https://discuss.elastic.co/t/completion-suggester-prefix/65571/2 "2016-12-08T00:13:33Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
