Analyzer for special characters

Hi,

I want to be able to search on special characters e.g. # and $ using the
query_string on multiple fields. I have used the default standard analyzer,
which caused some issues (es exceptions) when using for instance ~ in the
query_string. I have subsequently escaped the characters. The problem is
that some of the candidates in my index has for instance # in their name,
but I need to be able to query for something like n#ame* where name can be
e.g. n#meA, n#meB etc. Which analyzer is best suited for this scenario?

Thanks

Juan

--
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.

Hey,

you may want to install the inquisitor plugin (or use the analyze API
directly) and play around with the existing analyzers in order to find out,
if an existing analyzer fits your need. Also you can create your own ones
pretty easy, see more at

--Alex

On Thu, Aug 22, 2013 at 7:15 AM, Juan Herbst jjherbst@gmail.com wrote:

Hi,

I want to be able to search on special characters e.g. # and $ using the
query_string on multiple fields. I have used the default standard analyzer,
which caused some issues (es exceptions) when using for instance ~ in the
query_string. I have subsequently escaped the characters. The problem is
that some of the candidates in my index has for instance # in their name,
but I need to be able to query for something like n#ame* where name can be
e.g. n#meA, n#meB etc. Which analyzer is best suited for this scenario?

Thanks

Juan

--
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.

Hi Alexander thanks for the feedback, I have installed the plugin and it
works great. Thanks for the tip.

Juan

On Thursday, 22 August 2013 17:15:54 UTC+12, Juan Herbst wrote:

Hi,

I want to be able to search on special characters e.g. # and $ using the
query_string on multiple fields. I have used the default standard analyzer,
which caused some issues (es exceptions) when using for instance ~ in the
query_string. I have subsequently escaped the characters. The problem is
that some of the candidates in my index has for instance # in their name,
but I need to be able to query for something like n#ame* where name can be
e.g. n#meA, n#meB etc. Which analyzer is best suited for this scenario?

Thanks

Juan

--
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.