Query "index" filter


(Matt Weber) #1

I am searching across multiple indices and would like to filter one of the clauses by a specific index. Is there a way to perform an "index" filter just like the existing "type" filter?

--
Matt Weber
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


(Clinton Gormley) #2

On Thu 08 Mar 2012 05:16:49 CET, Matt Weber wrote:

I am searching across multiple indices and would like to filter one of
the clauses by a specific index. Is there a way to perform an "index"
filter just like the existing "type" filter?

--
Matt Weber
Sent with Sparrow http://www.sparrowmailapp.com/?sig

http://www.elasticsearch.org/guide/reference/query-dsl/indices-query.html

clint


(Matt Weber) #3

Awesome, thanks. I have no idea how I missed this.

--
Matt Weber
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Wednesday, March 7, 2012 at 11:49 PM, Clinton Gormley wrote:

On Thu 08 Mar 2012 05:16:49 CET, Matt Weber wrote:

I am searching across multiple indices and would like to filter one of
the clauses by a specific index. Is there a way to perform an "index"
filter just like the existing "type" filter?

--
Matt Weber
Sent with Sparrow http://www.sparrowmailapp.com/?sig

http://www.elasticsearch.org/guide/reference/query-dsl/indices-query.html

clint


(system) #4