Hi All,
I have multiple indices created in my elastic search. I am using 2.1.1 version. of ES.
My search requirement is like user will enter a keyword and search should happen against all indexes. But i want to prioritize the records returned. I mean ,I need only 10 matching records. From Index A i need 5 record, from index B i need 3 record, and from index C i need 2 record.
This is max count in case all indices fetch matching results. But in case index B and C doesn't have any matching record, i need all 10 from index A if it has more records. Similarly if there is no matching record from index B, then 8 record from index A and 2 record from index B should be returned.
Is this kind of segregation possible in ES?