Is it possible to search on some fields with increased weights if a field name is present in search query?
For example if an index has the following fields:
@Tosh I want to search both fields. But I want to narrow the search based on he name of the field in the search query. So if the query says "10 pistons", it should effectively consider "_source": "pistons", but if the query has "8 cylinders", it should search like this. "_source": "pistons".
I can do this manually by changing the "_source" based on the query, however I was looking for a built in approach.
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.