It seems that IDF is computed per token per field. We would like it to be computed just per token so that the same IDF will be used in each field of the document to compute the final score. The _all field already has this ideal IDF that we would like to apply to all fields. How can this be achieved with ElasticSearch using the MultiMatch query?
Many thanks for the reply and the links to cross_field query articles.
We want to query 3 fields and find the single best-matching field but use the same IDF across all 3 fields when calculating the score from the best-matching field. Will multi-match with cross_field achieve this objective?
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.