-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Defining custom analyzers #137
Comments
I was once dealing with a similar situation when I needed to define custom analyzers. I ended up with using the
|
Hi @tomsap85, I'm using Grails 2.5.1 and elasticsearch 0.0.4.6
And in my domain class:
After running the application, without exceptions, I did a curl to confirm:
I hope this helps you. |
I couldn't find a simple way to define a custom analyzer.
I'm working with Grails 2.5.3 and elasticsearch 0.0.4.6.
Under config.groovy i use the following to define "my_analyzer":
and my Domain searchable configuration looks like this :
I get a
MapperParsingException: Analyzer [my_analyzer] not found for field [_all] during the bulk indexing stage.
Is it even possible to work with the plugin and use a custom configurable analyzer?
If not,is there some kind of hook to integrate with the plugin indexing stage and use the client index java API to define my analyzer?
Thanks!
Tom
The text was updated successfully, but these errors were encountered: