# Synonym graph token filter backed by Elastic index

**URL:** https://discuss.elastic.co/t/synonym-graph-token-filter-backed-by-elastic-index/326616
**Category:** Elasticsearch
**Created:** [February 27, 2023, 4:35pm UTC](https://discuss.elastic.co/t/synonym-graph-token-filter-backed-by-elastic-index/326616 "2023-02-27T16:35:20Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jnioche](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jnioche/32/13090_2.png) [@jnioche](https://discuss.elastic.co/u/jnioche)
#### Post date: [February 27, 2023, 4:35pm UTC](https://discuss.elastic.co/t/synonym-graph-token-filter-backed-by-elastic-index/326616/1 "2023-02-27T16:35:20Z")

</div>

Hi,

I want to use the [synonym graph token filter](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/analysis-synonym-graph-tokenfilter.html#analysis-synonym-graph-tokenfilter) but ideally have the data stored in an Elasticsearch index so that it can be easily updated and modified.

My understanding of the code is that it reads the data from a file. Does anyone know an implementation which reads from an index instead?

Thanks

---

<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: [March 27, 2023, 4:35pm UTC](https://discuss.elastic.co/t/synonym-graph-token-filter-backed-by-elastic-index/326616/2 "2023-03-27T16:35:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
