May be it is just a random observation but I noticed interesting situation.
I am running one server node with index having 4 shards (no replicas). Now,
when I index data and issue a query like "+term1 term2" then I get some hits
back. I noticed that two hits (out of the ten most relevant hits) switched
positions if I changed mapping for "_all" to { "store" : "yes",
"term_vector" : "with_positions_offsets" }.
It is worth noting that both the hits have the same value of score but it
seems as it was guarantied that if _all is not stored and with no
term_vector then the order of those two documents is reversed.
May be it is just a random observation but I noticed interesting situation.
I am running one server node with index having 4 shards (no replicas). Now,
when I index data and issue a query like "+term1 term2" then I get some hits
back. I noticed that two hits (out of the ten most relevant hits) switched
positions if I changed mapping for "_all" to { "store" : "yes",
"term_vector" : "with_positions_offsets" }.
It is worth noting that both the hits have the same value of score but it
seems as it was guarantied that if _all is not stored and with no
term_vector then the order of those two documents is reversed.
May be it is just a random observation but I noticed interesting
situation. I am running one server node with index having 4 shards (no
replicas). Now, when I index data and issue a query like "+term1 term2" then
I get some hits back. I noticed that two hits (out of the ten most relevant
hits) switched positions if I changed mapping for "_all" to { "store" :
"yes", "term_vector" : "with_positions_offsets" }.
It is worth noting that both the hits have the same value of score but it
seems as it was guarantied that if _all is not stored and with no
term_vector then the order of those two documents is reversed.
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.