# How can i find all similar results as groups?

**URL:** <https://discuss.elastic.co/t/how-can-i-find-all-similar-results-as-groups/199011>\
**Category:** Elasticsearch\
**Created:** [September 11, 2019, 6:04am UTC](https://discuss.elastic.co/t/how-can-i-find-all-similar-results-as-groups/199011 "2019-09-11T06:04:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikedadi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nikedadi/32/53932_2.png) [@nikedadi](https://discuss.elastic.co/u/nikedadi)\
**Post date:** [September 11, 2019, 6:04am UTC](https://discuss.elastic.co/t/how-can-i-find-all-similar-results-as-groups/199011/1 "2019-09-11T06:04:16Z")

</div>

I have index with documents with titles like this:

1. The best movie!
2. THE BEST, MOVIE.
3. My film
4. The "Best mowie"
5. MY FILM!

First i want to get all titles analyzed by next rules:  
a) Lowercase  
b) Strip [.,"'-\_] etc.  
c) Change all "w" to "v"

Next  
How can i make query to get all similar titles grouped like this:

1. Group:  
{  
The best movie!  
THE BEST, MOVIE.  
The "Best mowie"  
}

2. Group:  
{  
My film  
MY FILM!  
}

Is it possible?

---

<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 9, 2019, 6:04am UTC](https://discuss.elastic.co/t/how-can-i-find-all-similar-results-as-groups/199011/2 "2019-10-09T06:04:21Z")

</div>

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