What I want to do is do a "fuzzy" (like this) query across multiple fields
where matches in certain fields should result in a higher score than
matches in other fields.
I tried to set different "boost" values to these fields in the mappings and
then run a fuzzy_like_this query over them, but it doesn't make any
difference to the ranking score in the end. The results are in the exactly
same order and with the exactly same score value.
How should I do it? I hope I don't have to run a mega-nested query and
boost the individual subqueries, as it is a faceted search and the indexed
documents contain about 40 fields. There must be a more convenient way, but
I can't seem to find it.
What I want to do is do a "fuzzy" (like this) query across multiple fields
where matches in certain fields should result in a higher score than
matches in other fields.
I tried to set different "boost" values to these fields in the mappings
and then run a fuzzy_like_this query over them, but it doesn't make any
difference to the ranking score in the end. The results are in the exactly
same order and with the exactly same score value.
How should I do it? I hope I don't have to run a mega-nested query and
boost the individual subqueries, as it is a faceted search and the indexed
documents contain about 40 fields. There must be a more convenient way, but
I can't seem to find it.
What I want to do is do a "fuzzy" (like this) query across multiple
fields where matches in certain fields should result in a higher score than
matches in other fields.
I tried to set different "boost" values to these fields in the mappings
and then run a fuzzy_like_this query over them, but it doesn't make any
difference to the ranking score in the end. The results are in the exactly
same order and with the exactly same score value.
How should I do it? I hope I don't have to run a mega-nested query and
boost the individual subqueries, as it is a faceted search and the indexed
documents contain about 40 fields. There must be a more convenient way, but
I can't seem to find it.
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.