# Completion Suggester -Search Analyzer Tokens not getting Union of Results

**URL:** <https://discuss.elastic.co/t/completion-suggester-search-analyzer-tokens-not-getting-union-of-results/23217>\
**Category:** Elasticsearch\
**Created:** [April 13, 2015, 6:59pm UTC](https://discuss.elastic.co/t/completion-suggester-search-analyzer-tokens-not-getting-union-of-results/23217 "2015-04-13T18:59:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ap1](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@Ap1](https://discuss.elastic.co/u/Ap1)\
**Post date:** [April 13, 2015, 6:59pm UTC](https://discuss.elastic.co/t/completion-suggester-search-analyzer-tokens-not-getting-union-of-results/23217/1 "2015-04-13T18:59:15Z")

</div>

I have the following search\_analyzer:

settings --\> "whitespace\_analyzer": {  
"type": "custom",  
"tokenizer": "whitespace",  
"filter": [  
"lowercase",  
"asciifolding"  
]  
}  
mapping --\>  
_"index\_analyzer" : "whitespace\_analyzer",_  
_"search\_analyzer" : "whitespace\_analyzer",_

I have inserted a single doc "Calfornia World"  
Following is the search result:

1. "Cali" --\> matches correctly and returns the doc
2. "Wor" --\> matches correctly and returns the doc  
_3. "Cali Wor" --\> DOES NOT matches correctly and doc is not returned. --\>  
This is the problem. This text should return this doc._

Does anyone know whats wrong ?

Thanks

--  
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/2be8f2ba-2729-4959-ad24-eca3fd5b2a15%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2be8f2ba-2729-4959-ad24-eca3fd5b2a15%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, 12:20am UTC](https://discuss.elastic.co/t/completion-suggester-search-analyzer-tokens-not-getting-union-of-results/23217/2 "2017-07-06T00:20:00Z")

</div>

Closed on July 6, 2017, 12:20am UTC


