# Fetching pre configured attributes through elasticsearch

**URL:** <https://discuss.elastic.co/t/fetching-pre-configured-attributes-through-elasticsearch/17125>\
**Category:** Elasticsearch\
**Created:** [April 22, 2014, 1:01pm UTC](https://discuss.elastic.co/t/fetching-pre-configured-attributes-through-elasticsearch/17125 "2014-04-22T13:01:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prashant\_Pal](https://avatars.discourse-cdn.com/v4/letter/p/b77776/32.png) [@Prashant\_Pal](https://discuss.elastic.co/u/Prashant_Pal)\
**Post date:** [April 22, 2014, 1:01pm UTC](https://discuss.elastic.co/t/fetching-pre-configured-attributes-through-elasticsearch/17125/1 "2014-04-22T13:01:59Z")

</div>

Hi ,  
Is there anyway to fetch the pre configured attribute (synonyms, lingo3g etc) using ES query.

For ex: I have **synonym.txt** file which is being added in ES to support synonym tokenisation. So is there any query I can fire, to read the content from synonym.txt.

---

<div class="post-metadata">

**Author:** ![Binh\_Ly\_2](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@Binh\_Ly\_2](https://discuss.elastic.co/u/Binh_Ly_2)\
**Post date:** [April 22, 2014, 2:25pm UTC](https://discuss.elastic.co/t/fetching-pre-configured-attributes-through-elasticsearch/17125/2 "2014-04-22T14:25:44Z")

</div>

No I don't believe you can read that synonyms file from an ES API. However,  
you can pull back all the meta information for an index (including analyzer  
definitions):

curl localhost:9200/index\_name/\_settings?pretty

--  
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/ea06606b-4a80-4f6a-b0ea-eea6b75d687c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ea06606b-4a80-4f6a-b0ea-eea6b75d687c%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, 1:34am UTC](https://discuss.elastic.co/t/fetching-pre-configured-attributes-through-elasticsearch/17125/3 "2017-07-06T01:34:20Z")

</div>

Closed on July 6, 2017, 1:34am UTC


