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
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 .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/73803689-5f3e-4385-8b04-942d22793712%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
I updated the gist to reflect the answer.
gistfile1.txt
#bulk cmd
curl -XPOST http://127.0.0.1:9200/_bulk --data-binary @file.json
#json file
{"index":{"_index":"autocompletezipcode","_type":"zipcode","_id":41782}}
{"zip":"99830","city":"Kake","state":"AK","suggest":{"input":["99830"],"output":"Kake, AK"}}
{"index":{"_index":"autocompletezipcode","_type":"zipcode","_id":41783}}
{"zip":"99832","city":"Pelican","state":"AK","suggest":{"input":["99832"],"output":"Pelican, AK"}}
This file has been truncated. show original
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
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 .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/39cb2576-0eac-424f-912c-5dbfd46d0e70%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .