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


(Anthony Campagna) #1

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.
For more options, visit https://groups.google.com/groups/opt_out.


(David Pilato) #2

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

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

Le 4 oct. 2013 à 22:20, Anthony Campagna 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.
For more options, visit 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.
For more options, visit https://groups.google.com/groups/opt_out.


(Anthony Campagna) #3

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?

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-elision-tokenfilter.html

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

Le 4 oct. 2013 à 22:20, Anthony Campagna <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 <javascript:>.
For more options, visit 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.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4