-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
compatibility synonym with other filter ? #27481
Comments
I also get this error. I use Synonym Graph. |
The same issue with synonym filter: |
@nacimgoura I am not able to reproduce your issue with the settings that you provided. Can you share the entire definition for your synonym, analyzer and field ? |
Hi @jimczi, Here is my entire definition :
|
Sorry this is a new behavior in 6.0:
This means that all your synonym rules are analyzed with an
It's important to note that some of your rules are not built correctly in 5.x with this configuration. For instance I hope you don't mind if I close this issue, we can continue to discuss the new behavior of the synonym filters in the forum if you want. Just open a new topic and we'll be happy to help: |
@jimczi This is a huge breaking change. A single synonyms file that represents our vocabulary no longer is valid in all custom analyzers because it's tightly coupled to the specific filters and tokenizers on that analyzer. How will I know if we add an invalid synonym that breaks index creation? Our content editors are free to make up synonyms as they need to support user queries. For years this has worked out well and all the sudden it's completely broken. Why does it have to fail index creation, why not just ignore the synonym? Or at least give us an option to ignore eliminated synonyms rather than failing creation. |
I got this error because I have applied the wrong TokenFilter to my custom analyzer (had similar tokenfilters for different languages). In case someone should have the same problem. This should be a quicker fix. It was a copy/paste mistake. |
Hello,
I have updated my elastic from 5.6.4 to 6.0.0 but I have a problem that I can't solve even with documentation.
I can't update my settings, I have the
failed to build synonyms
error.Here's my filter :
Here's my analyzer :
Here's my error :
I have the impression that the
synonym
filter is not compatible with other filters. For example in my case withicu_folding
.I really feel like it's a bug.
Has anyone had the same problem ?
The text was updated successfully, but these errors were encountered: