# Have a document titled L’Absinthe match any of the following queries: L’Absinthe, LAbsinthe, Absinthe

**URL:** <https://discuss.elastic.co/t/have-a-document-titled-l-absinthe-match-any-of-the-following-queries-l-absinthe-labsinthe-absinthe/13850>\
**Category:** Elasticsearch\
**Created:** [October 4, 2013, 8:20pm UTC](https://discuss.elastic.co/t/have-a-document-titled-l-absinthe-match-any-of-the-following-queries-l-absinthe-labsinthe-absinthe/13850 "2013-10-04T20:20:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anthony\_Campagna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anthony_campagna/32/2079_2.png) [@Anthony\_Campagna](https://discuss.elastic.co/u/Anthony_Campagna)\
**Post date:** [October 4, 2013, 8:20pm UTC](https://discuss.elastic.co/t/have-a-document-titled-l-absinthe-match-any-of-the-following-queries-l-absinthe-labsinthe-absinthe/13850/1 "2013-10-04T20:20:39Z")

</div>

I am struggling to figure out a good way of doing this. I want to be able  
to find a document titled L’Absinthe with any of the following queries  
(when doing both autocomplete with edgegrams and search): L’Absinthe,  
LAbsinthe, Absinthe

Is there some sort of tokenizer or filter to assist with this sort of thing  
or is it going to be a more manual effort using a multifield for name?  
Ngrams MIGHT be a solution but I really don't like ngrams. They tend to  
make search results too messy.

Note: Stripping out ' characters doesn't work because then you can't search  
for L’Absinthe using a query of "Absinthe"

Any ideas?

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 4, 2013, 8:23pm UTC](https://discuss.elastic.co/t/have-a-document-titled-l-absinthe-match-any-of-the-following-queries-l-absinthe-labsinthe-absinthe/13850/2 "2013-10-04T20:23:41Z")

</div>

Does elision could help you?  
[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-elision-tokenfilter.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-elision-tokenfilter.html)

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 4 oct. 2013 à 22:20, Anthony Campagna [gucommander@gmail.com](mailto:gucommander@gmail.com) a écrit :

I am struggling to figure out a good way of doing this. I want to be able to find a document titled L’Absinthe with any of the following queries (when doing both autocomplete with edgegrams and search): L’Absinthe, LAbsinthe, Absinthe

Is there some sort of tokenizer or filter to assist with this sort of thing or is it going to be a more manual effort using a multifield for name? Ngrams MIGHT be a solution but I really don't like ngrams. They tend to make search results too messy.

Note: Stripping out ' characters doesn't work because then you can't search for L’Absinthe using a query of "Absinthe"

## Any ideas?

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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Anthony\_Campagna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anthony_campagna/32/2079_2.png) [@Anthony\_Campagna](https://discuss.elastic.co/u/Anthony_Campagna)\
**Post date:** [October 4, 2013, 8:29pm UTC](https://discuss.elastic.co/t/have-a-document-titled-l-absinthe-match-any-of-the-following-queries-l-absinthe-labsinthe-absinthe/13850/3 "2013-10-04T20:29:15Z")

</div>

I'm pretty sure that's exactly what i'm looking for! ty

On Friday, October 4, 2013 4:23:41 PM UTC-4, David Pilato wrote:

> Does elision could help you?
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-elision-tokenfilter.html)
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 4 oct. 2013 à 22:20, Anthony Campagna \<[gucom...@gmail.com](mailto:gucom...@gmail.com) \<javascript:\>\>  
> a écrit :
> 
> I am struggling to figure out a good way of doing this. I want to be able  
> to find a document titled L’Absinthe with any of the following queries  
> (when doing both autocomplete with edgegrams and search): L’Absinthe,  
> LAbsinthe, Absinthe
> 
> Is there some sort of tokenizer or filter to assist with this sort of  
> thing or is it going to be a more manual effort using a multifield for  
> name? Ngrams MIGHT be a solution but I really don't like ngrams. They tend  
> to make search results too messy.
> 
> Note: Stripping out ' characters doesn't work because then you can't  
> search for L’Absinthe using a query of "Absinthe"
> 
> Any ideas?
> 
> --  
> 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:13am UTC](https://discuss.elastic.co/t/have-a-document-titled-l-absinthe-match-any-of-the-following-queries-l-absinthe-labsinthe-absinthe/13850/4 "2017-07-06T02:13:39Z")

</div>


