I have two separate indices A and B. Both indices have same document structure.
Let's say A contains 50 documents and B contains 5 documents. When i search over these indices with limit 20, resultSet should contains 17 documents from A and 3 documents from B which meet searchCriteria. I want to limit document count from B indice . Everytime I search over these indices, it should return 3 documents or not from B indices.
And sorting over these indices should work well.
Is there any possible solution ?
Thank you very much.