# Source Code Finite State Transducer Elasticsearch completion suggester

**URL:** <https://discuss.elastic.co/t/source-code-finite-state-transducer-elasticsearch-completion-suggester/184774>\
**Category:** Elasticsearch\
**Created:** [June 7, 2019, 2:05pm UTC](https://discuss.elastic.co/t/source-code-finite-state-transducer-elasticsearch-completion-suggester/184774 "2019-06-07T14:05:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rogito\_manda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rogito_manda/32/45300_2.png) [@rogito\_manda](https://discuss.elastic.co/u/rogito_manda)\
**Post date:** [June 7, 2019, 2:05pm UTC](https://discuss.elastic.co/t/source-code-finite-state-transducer-elasticsearch-completion-suggester/184774/1 "2019-06-07T14:05:07Z")

</div>

Can someone point me to the implementation of the Finite State Transducer for the completion suggester? I want to analyze it.

Thank you

---

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [June 14, 2019, 7:41pm UTC](https://discuss.elastic.co/t/source-code-finite-state-transducer-elasticsearch-completion-suggester/184774/2 "2019-06-14T19:41:01Z")

</div>

Not an expert in this area, but I believe most of the FST suggester stuff is split between [`CompletionFieldConsumer`](https://github.com/apache/lucene-solr/blob/master/lucene/suggest/src/java/org/apache/lucene/search/suggest/document/CompletionFieldsConsumer.java#L84), [`NRTSuggesterBuilder`](https://github.com/apache/lucene-solr/blob/master/lucene/suggest/src/java/org/apache/lucene/search/suggest/document/NRTSuggesterBuilder.java) and [`NrtSuggester`](https://github.com/apache/lucene-solr/blob/master/lucene/suggest/src/java/org/apache/lucene/search/suggest/document/NRTSuggester.java) in Lucene.

---

<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 12, 2019, 7:41pm UTC](https://discuss.elastic.co/t/source-code-finite-state-transducer-elasticsearch-completion-suggester/184774/3 "2019-07-12T19:41:02Z")

</div>

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