# Problem of Term Suggester

**URL:** <https://discuss.elastic.co/t/problem-of-term-suggester/17094>\
**Category:** Elasticsearch\
**Created:** [April 19, 2014, 2:02am UTC](https://discuss.elastic.co/t/problem-of-term-suggester/17094 "2014-04-19T02:02:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![le\_trung\_Trung](https://avatars.discourse-cdn.com/v4/letter/l/6a8cbe/32.png) [@le\_trung\_Trung](https://discuss.elastic.co/u/le_trung_Trung)\
**Post date:** [April 19, 2014, 2:02am UTC](https://discuss.elastic.co/t/problem-of-term-suggester/17094/1 "2014-04-19T02:02:16Z")

</div>

I have a problem with term suggester. I dont know what was happening. All  
friends, plz help me to explain it.

I have two 3 documents: [doc1:{content: "Anh yêu ta"},doc2:{content:"Anh  
yêu ta"}, doc3:"Anh yêu tí"] (content was indexed with vi\_annalyzer)

I using term suggester as: SuggestionBuilder text = SuggestBuilder  
.termSuggestion(Suggestion.DEFAULT\_NAME).field("c").text("tí").minWordLength(2).size(1).suggestMode("missing");

I was received results from termsuggestion is:{text: "ta" , freq:2 ,  
score:0.5}

=\> Why term suggestion is "ta" ?. In my thinking , no term suggestion will  
been returned. Plz help me to explain it. what it's wrong and how to fix  
it. Thanks all my friends!!!

This is config vi\_annalyzer:  
index:  
analysis:  
analyzer:  
vi\_analyzer:  
type: custom  
tokenizer: whitespace  
filter: [trim, lowercase, hunspell\_vi]  
filter:  
hunspell\_vi:  
type: hunspell  
locale: vi\_VN

--  
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/c6188c07-b722-4377-b478-bd8022c4b8e8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c6188c07-b722-4377-b478-bd8022c4b8e8%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/problem-of-term-suggester/17094/2 "2017-07-06T01:34:52Z")

</div>


