I have document having values for employee, their department and salary. I want to apply boost factor based on department and their salary condition based i.e. salary less than 1500$ should get higher ranking. For example.
I had tried using script_field for salary, but it was returning only true / false value; however I am looking for complete resultset, with name, department and salary as well
I have used bool query with should and must clause and boost factor on the required ones, however not sure how to take care the Salary part of the clause with the boost factor.
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.