# Does synonym\_graph work on Percolator Query?

**URL:** https://discuss.elastic.co/t/does-synonym-graph-work-on-percolator-query/342331
**Category:** Elasticsearch
**Created:** [September 5, 2023, 10:16am UTC](https://discuss.elastic.co/t/does-synonym-graph-work-on-percolator-query/342331 "2023-09-05T10:16:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jspark9812](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jspark9812/32/125320_2.png) [@jspark9812](https://discuss.elastic.co/u/jspark9812)
#### Post date: [September 5, 2023, 10:16am UTC](https://discuss.elastic.co/t/does-synonym-graph-work-on-percolator-query/342331/1 "2023-09-05T10:16:15Z")

</div>

Hello.  
There was a question from the percolator query, so I wrote it like this.  
The link below is a description of token-graphs. The description states that the positionLength of synonym\_graph is ignored in index time.  
The percolator query has the existing indexing/search reversed.

If so, is index time positionLength of the percolator query ignored? Or is it not ignored because it's a search query?

Since we are still using the mapping we used before, synonym\_graph is naturally being used for index time of percolator.

> **[Token graphs | Elasticsearch Guide \[8.9\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/token-graphs.html)**

---

<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: [October 3, 2023, 10:16am UTC](https://discuss.elastic.co/t/does-synonym-graph-work-on-percolator-query/342331/2 "2023-10-03T10:16:28Z")

</div>

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