I have the default configuration of the elastic search node: 5 shards and 1
replica. I query the node which matches on particular field which is the
same for many documents in these 5 shards. However the search results have
different scores due to the tf-idf for that document in that particular
shard. Ideal scenario for me would be to have the same score for the
document for the same fields across different shards and I could break ties
by ordering on a second criteria which is important to me. How to
accomplish this?
I have the default configuration of the elastic search node: 5 shards and 1 replica. I query the node which matches on particular field which is the same for many documents in these 5 shards. However the search results have different scores due to the tf-idf for that document in that particular shard. Ideal scenario for me would be to have the same score for the document for the same fields across different shards and I could break ties by ordering on a second criteria which is important to me. How to accomplish this?
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.