Thanks for the input Shay but as far as I'm aware, the format for the
facets is completely copied pasted out of the link you gave as it was my
starting point. Obviously I'm missing something, can you please elaborate a
bit more?
On Wed, Mar 7, 2012 at 3:08 PM, Shay Banon kimchy@gmail.com wrote:
I've found out that the query that I initially posted never had a problem
to begin with, apparently instead of POST-ing directly against http://localhost:9200/my_index/_search/ I had been posting against http://localhost:9200/_search/ which was the real source of the exception.
I only have two indices, one is "my_index" and another is the "_river" that
helped put the data in the my_index together. So my guess is that the
exception is really stemming from the _river index which ofcourse does not
have any mapping for the regularPrice field.
What I personally find to be strange is that until I had not run the query
against anything other than http://localhost:9200/_search/ ... there
weren't any results being returned at all. But after I ran the query
against http://localhost:9200/my_index/_search/ just once ... even POST-ing
back again to the original http://localhost:9200/_search/ started providing
results from the my_index and still showing the exception from the _river
index in the logs.
Now if this is a given in terms of normal behavior, then please feel free
to call it out and let me know.
Thanks for the input Shay but as far as I'm aware, the format for the
facets is completely copied pasted out of the link you gave as it was my
starting point. Obviously I'm missing something, can you please elaborate a
bit more?
On Wed, Mar 7, 2012 at 3:08 PM, Shay Banon kimchy@gmail.com wrote:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.