Search across types in query body

(Manuel Vacelet-2) #1

Hi there,

I'm playing with search across types with queries of form:
curl -XPOST 'localhost:9200/trk/110,112/_search ...

And I'm wondering if there is a way to specify the types I want to search
on in the query body.
curl -XPOST 'localhost:9200/trk/_search -d '{

It seems that the feature exists for cross-index searches[1] but I fail to
find the cross-type equivalent.



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
To view this discussion on the web visit
For more options, visit

(system) #2