I have created a search template following docs like: POST _scripts/<templateid> { "script": { "lang": "mustache", "source": { "query": { "match": { "title": "{{query_string}}" } } } } }
but now i want to access this search template(use it) from my react application.
Can I send a fetch to localhost:9200/_search/template.
Is this even possible from front end?
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.