Does the dfs search type work across indexes?


(Tim S) #1

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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f0cf0477-bb7e-4770-aedc-3e37e5d43414%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #2