I've tried to use cross_field query to search over multiple fields with completely different boosts. But TF/IDF makes the results so bad because I just want to see if a term exist in the fields or not (but if exists, apply each field's boost to calculate the final score). Unfortunately when I use constant_score to disable TF/IDF on my multi_match query, all boosts ignored.
can anyone help me to write a correct query for this situation?
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.