Hi Team,
Can anyone please help how to pass multiple fields for searching in span_term query?
Example for span_term query { "span_term": { "field1": "value1" } }
I want to pass something like this { "span_term": { ["field1", "field2"]: "value1" } }
Hi @Sahil5 It seems to me that this is not possible. I would try using bool query and should to have span term for each term separately.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.