Java API for Search Templates


(Sathish Kumar Thiyagarajan) #1

As per the elastic document, There is a REST API to add mustache templates (Search Template)

https://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-template.html

is Java API support this now? If yes, What is the syntax to create search templates ?


(Colin Goodheart-Smithe) #2

have a look at the java api documentation search templates: https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/java-search-template.html


(system) #3