I have the following elastic search query with query string that should
match all the fields and term query should match the respective fields
given below. I want only the query_string to be part of the highlight.
When i use required_field_match it highlights only the term "email" on the
channel field. without required_field_match it matches "email" and
query_string on all the fields which i dont want. Can you let me know how
to exclude "channel" field from highlight ?
On Monday, August 19, 2013 7:16:45 PM UTC+2, Vinoth Amar wrote:
I have the following Elasticsearch query with query string that should
match all the fields and term query should match the respective fields
given below. I want only the query_string to be part of the highlight.
When i use required_field_match it highlights only the term "email" on the
channel field. without required_field_match it matches "email" and
query_string on all the fields which i dont want. Can you let me know how
to exclude "channel" field from highlight ?
On Monday, August 19, 2013 7:16:45 PM UTC+2, Vinoth Amar wrote:
I have the following Elasticsearch query with query string that should
match all the fields and term query should match the respective fields
given below. I want only the query_string to be part of the highlight.
When i use required_field_match it highlights only the term "email" on the
channel field. without required_field_match it matches "email" and
query_string on all the fields which i dont want. Can you let me know how
to exclude "channel" field from highlight ?
On Monday, August 19, 2013 7:16:45 PM UTC+2, Vinoth Amar wrote:
I have the following Elasticsearch query with query string that should
match all the fields and term query should match the respective fields
given below. I want only the query_string to be part of the highlight.
When i use required_field_match it highlights only the term "email" on the
channel field. without required_field_match it matches "email" and
query_string on all the fields which i dont want. Can you let me know how
to exclude "channel" field from highlight ?
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.