Unable to query ES conditions from browser


(Ankur Wahi) #1

Hi,
I have an Elasticsearch node setup. When I query the index via curl command
I get the expected output.

curl -XPOST 'http://localhost:9200/one/employee/_search?pretty=true' -d '{
"query": {
"term": {
"emp_id":"4318W01149"
}
}
}'

but when I run similar query via browser I get the error

http://localhost:9200/one/employee/?q=emp_id:4318W01149

"error":"ElasticsearchIllegalArgumentException[No feature for name
[employee]]","status":400

I'm on ES version 1.5.2

The query below works fine
http://localhost:9200/one/employee/_search

Thanks
Ankur

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/

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/1f3b98f5-3438-4363-be25-1548cb17738d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2