# Retrieve Search Temlate Params (JavaAPI)

**URL:** <https://discuss.elastic.co/t/retrieve-search-temlate-params-javaapi/23171>\
**Category:** Elasticsearch\
**Created:** [April 9, 2015, 1:12pm UTC](https://discuss.elastic.co/t/retrieve-search-temlate-params-javaapi/23171 "2015-04-09T13:12:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jan\_Wolf](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@Jan\_Wolf](https://discuss.elastic.co/u/Jan_Wolf)\
**Post date:** [April 9, 2015, 1:12pm UTC](https://discuss.elastic.co/t/retrieve-search-temlate-params-javaapi/23171/1 "2015-04-09T13:12:24Z")

</div>

Hey everyone,

I have the following problem. I managed to store some templates (indexed or  
as file) and now I want other to be able to use those templates. So I want  
to display the template IDs along with their possible parameters. However I  
cannot manage to retrieve the parameters. How can I do this? Do i have to  
store the params separately as metadata?

Greetings,  
Jan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f4fd32e1-efc8-4ddf-97fb-b45c7eb2602e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f4fd32e1-efc8-4ddf-97fb-b45c7eb2602e%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:20am UTC](https://discuss.elastic.co/t/retrieve-search-temlate-params-javaapi/23171/2 "2017-07-06T00:20:37Z")

</div>

Closed on July 6, 2017, 12:20am UTC


