Im having an array of phrases ,and I need these to be searched inside an index which I made with crawled data..is there any way to do this
Thanks in advance
Im having an array of phrases ,and I need these to be searched inside an index which I made with crawled data..is there any way to do this
Thanks in advance
What should match? All terms? All phrases? Some phrases?
some phrases or all phrases ..if all phrases are present in a heading it should get the highest score
So a bool
query with a should
array where you put as many match_phrase
queries as you need.
I need something like
Var array=["software development","elastic search is great"];
"match":{"heading": array}
The size of an array can be varied.
Try what I said.
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.