-
Notifications
You must be signed in to change notification settings - Fork 17
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
Problem using own analyzer configuration #30
Comments
Hi, Elasticray creates indices on liferay with name liferay_{companyId}. So you must apply settings not just for liferay_0 but also to liferay_{comapnyId}. Or else use elasticsearch templates and apply template to liferay_*. |
Sorry closed by mistake. |
Hi,
mapping? Or do I have to modify this file and re-deploy the package? |
I am afraid we don't have a configuration for this. You can change the file and redeploy the package and reindex or you can do this
|
Thank you for reply. After defining my own analyzer in dynamic template, the search ran well. |
Hi, I am trying to set up Liferay with Elasticsearch and use hunspell as analyzer for czech language. I have set up the index with following analyzer definition:
It seems to work on czech text, when I try to call the analyzer through the REST API:
I get tokens:
which are the wanted tokens.
But when I try to search web content with such text (indexed after new settings) I don´t get right results (I have to provide exact word, to get result).
Any ideas what could cause this behaviour.
Thanks.
The text was updated successfully, but these errors were encountered: