-
Notifications
You must be signed in to change notification settings - Fork 340
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
Make "-" searchable - backport #1668
Comments
Hello @simonrl, Sorry I'm only coming back to this subject.
I'm realising that what you're missing is probably just the piece of code which merges different Regards, |
Hey @rbayet sorry for the delayed reply. I basically just copied
I assume this is not correct? Thanks |
Hello @simonrl, Actually, I cannot do what you want to achieve in a 2.3.4 either.
I'm not sure this is totally a merge issue on the /analysis/analyzers/analyzer.
Logically, all the analyzer nodes with the same name and language should be merged, whether or not you change the value for the tokenizer attribute. Actually, what I had managed was to completely redefine analyzer name="standard" but
Intuitively, the issue should be somewhere in \Smile\ElasticsuiteCore\Index\Analysis\Config\Converter::getDefaultConfiguration, but the reported exception is located in \Magento\Framework\Config\Dom. I'll try to follow the rabbit down that hole, but meanwhile, you might have one option : making your changes on the analyzer name="standard" on anything BUT language="default". Regards, |
Hi @rbayet thanks for the explanation. If you consider this a real issue, you can of course try to solve it. We don't need it though, so if my request is the sole reason for you to check this, don't waste your time there :) Our use-case was to implement changes from future versions in Elasticsuite 2.3, and as we're currently upgrading, that's no longer relevant. Thanks |
I close, this topic has been stalled for too long, I'm not even sure that's still accurate. There might be a remaining topic on XML files merging for analyzer that remains open in #2194 |
In reference to this issue: #1011
Any idea how I implement only the changes from #1022 without updating to the latest version?
I tried defining the analyzers with new params in my own elasticsuite_analysis.xml file in a new module, but get the error message that multiple nodes have been found for /analysis/analyzers/analyzer[@name='standard' and @language='default']/filters/filter
If overriding analyzer definitions is not possible, would you merge a backport to the 2.3.x branch if I create one, even if this version is no longer supported?
Thanks
Simon
@rbayet
The text was updated successfully, but these errors were encountered: