# No results from suggest query

**URL:** <https://discuss.elastic.co/t/no-results-from-suggest-query/16244>\
**Category:** Elasticsearch\
**Created:** [March 8, 2014, 12:09am UTC](https://discuss.elastic.co/t/no-results-from-suggest-query/16244 "2014-03-08T00:09:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Register](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/david_register/32/1741_2.png) [@David\_Register](https://discuss.elastic.co/u/David_Register)\
**Post date:** [March 8, 2014, 12:09am UTC](https://discuss.elastic.co/t/no-results-from-suggest-query/16244/1 "2014-03-08T00:09:39Z")

</div>

The query stopped working after I upgraded to 1.0.1 from 0.90.5. I am using  
PHP and also updated my library from 0.4 to 1.0.

I am trying to bulk index my data, I am wondering if that could be the  
problem.

I am providing a gist with all the current info about this situation.

[https://gist.github.com/dmregister/efc07f4f4ffc2a96b4d2](https://gist.github.com/dmregister/efc07f4f4ffc2a96b4d2)

Any help would be greatly appreciated.

Thanks.  
David

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/73803689-5f3e-4385-8b04-942d22793712%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/73803689-5f3e-4385-8b04-942d22793712%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![David\_Register](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/david_register/32/1741_2.png) [@David\_Register](https://discuss.elastic.co/u/David_Register)\
**Post date:** [March 10, 2014, 6:14pm UTC](https://discuss.elastic.co/t/no-results-from-suggest-query/16244/2 "2014-03-10T18:14:35Z")

</div>

I updated the gist to reflect the answer.

> <https://gist.github.com/dmregister/9467385>

It turns out, the index\_analyzer and search\_analyzer "simple" do not work  
well with numbers. Changing them to "keyword" did the trick.

On Friday, March 7, 2014 7:09:39 PM UTC-5, David Register wrote:

> The query stopped working after I upgraded to 1.0.1 from 0.90.5. I am  
> using PHP and also updated my library from 0.4 to 1.0.
> 
> I am trying to bulk index my data, I am wondering if that could be the  
> problem.
> 
> I am providing a gist with all the current info about this situation.
> 
> [https://gist.github.com/dmregister/efc07f4f4ffc2a96b4d2](https://gist.github.com/dmregister/efc07f4f4ffc2a96b4d2)
> 
> Any help would be greatly appreciated.
> 
> Thanks.  
> David

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/39cb2576-0eac-424f-912c-5dbfd46d0e70%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/39cb2576-0eac-424f-912c-5dbfd46d0e70%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 1:44am UTC](https://discuss.elastic.co/t/no-results-from-suggest-query/16244/3 "2017-07-06T01:44:28Z")

</div>

Closed on July 6, 2017, 1:44am UTC


