Does the dfs search type work across indexes?

If I use the search type "dfs_query_then_fetch", as I understand it the
first step of the search is to go to each of the shards collecting the
inverse document frequencies.

If I was searching across multiple indexes, would it collect the idfs from
each of the indexes and combine them?

E.g. if I randomly split an index in half (e.g. "unsecured" and "secured"),
if I did a search across both of those indexes, would the results (and
their scores) be roughly similar to if I had all the documents in one index
and just did the search on that?

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