fullscale / elastic.js

A JavaScript implementation of the elasticsearch Query DSL
http://docs.fullscale.co/elasticjs/
MIT License
654 stars 163 forks source link

Request indices method #28

Closed porjo closed 11 years ago

porjo commented 11 years ago

The Request object has a method indices about which the doco says:

Allows you to set the specified indices on this request object. This is the set of indices that will be used when the search is executed.

Attempting to use this results in a POST URL with each index separated by a comma e.g. http://<host>:<port>/<index1>,<index2>/_search

for me, that results in a HTTP 500 Internal Server Error. Is this a bug, or am I just misunderstanding how this should be used?

porjo commented 11 years ago

Apologies, the Internal Server Error turned out to be a separate issue