MultiSearch Indexes different mapping

Has anyone ever used a search strategy on more than one index?

In my case I have different indexes, like a product index and a community index, both with different mappings.
In tests using the same alias for both, sorting by _score may only list results from one of the indices, as the score is calculated individually on each index. As the frequency of documents can be different in each index
this behavior can be common in searches.

I don't know if there is a way, using the alias approach, to balance the scores. I know that it is possible to use the Multi Search API to execute more than one query.

If anyone here has done something similar, it would be nice to hear the experience.

If you are searching across indices with different mappings, I'd expect the results you are getting due to the lack of commonality of fields to search on.

even if there were equal fields the results would not be as expected due to the frequency of documents and each index.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.