Hi, can I create a query to ignore document length in query time?
right now my query looks like this:
"query":{
"multi_match" : {
"query": "some thing",
"fields": [ "text","title"]
}
}
but the title gets too much wight because it's short
Hi, can I create a query to ignore document length in query time?
right now my query looks like this:
"query":{
"multi_match" : {
"query": "some thing",
"fields": [ "text","title"]
}
}
but the title gets too much wight because it's short
That's complicated, I'd read through https://www.elastic.co/guide/en/elasticsearch/guide/master/controlling-relevance.html to see exactly what you are after and so you understand the impact choosing various options can have.
© 2020. All Rights Reserved - Elasticsearch
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.