I'm having a sorting issue.
I have 2 indexes which I search.
I want to sort on a date field, but they have different names in each index:
index01 has a datefield: publishedDate
index02 has a datefield: postedDate
Thanks for your response.
My problem isn't the query, it's the sorting.
I want all hits sorted on a date, but the name of the datefield is diferent in my indexes.
I've solved it now by copying the datefield to another field with the same name in all indices, but I think this should be possible in another way.
I'm experiencing a similar problem.
In my case the indexes are different, and in some searches I only have the docs of just one index at the top. This is because the classification in each index is different due to the frequency of documents.
Then I thought of using msearch because I can separate queries and sorting.
As in your case the indices are the same so it's not like my problem.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.