Without the fields marked red above in the "query_string", it returns 10
results as per the query.
I would like to query by boosting the fields during run time otherwise the
results returned is not in the right order.
Other alternative is to boost during mapping time but I don't want to do
that because if there is a need to change the boosting in future I need to
redo the mapping.
If you specify multiple fields on your query you potentially get back more
results, since you are searching against multiple fields. You can then
assign weights to those fields in order to tune their importance, as you
did. Those weights need some fine-tuning though, as the score doesn't only
depend on them.
On Saturday, November 23, 2013 4:07:07 AM UTC+1, nirmala ranganathan wrote:
Without the fields marked red above in the "query_string", it returns 10
results as per the query.
I would like to query by boosting the fields during run time otherwise the
results returned is not in the right order.
Other alternative is to boost during mapping time but I don't want to do
that because if there is a need to change the boosting in future I need to
redo the mapping.
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.