I want to know the respective query in elastic search for a SQl query with LIKE in where clause as follows:
- WHERE LIKE 'brown fox%'
- WHERE LIKE '%brown fox%'
- WHERE LIKE '%brown fox'
Thanks
I want to know the respective query in elastic search for a SQl query with LIKE in where clause as follows:
Thanks
Hey @Kalyan_Dey,
May I suggest the Elasticsearch SQL translate API for this? For a certain index, you could run your WHERE LIKE .... query in the translate API and it will give you an Elasticsearch _search request instead. I'm not saying it will be the best fit for your mapping and query, but it will get you started with something to experiment with.
© 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.