You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to change the default mapping so that SearchableText provides both a raw keyword field and text field with snowball analyzer for a project. The docs https://github.com/collective/collective.elasticsearch/blob/master/docs/config.rst suggest I can create my own adapter and apply a layer. However, this appears to be invalid ZCML - adapters can't have layers
Assuming I am correct here, I don't think there's currently a better way to update these than monkey patching? I've also monkey patched the create_mapping for collective.elasticsearch.indexes.EZCTextIndex but this appears to not apply for those fields in the _default_mapping.
The text was updated successfully, but these errors were encountered:
I want to change the default mapping so that SearchableText provides both a raw keyword field and text field with snowball analyzer for a project. The docs https://github.com/collective/collective.elasticsearch/blob/master/docs/config.rst suggest I can create my own adapter and apply a layer. However, this appears to be invalid ZCML - adapters can't have layers
zope.configuration.exceptions.ConfigurationError:
('Unrecognized parameters:', 'layer')Assuming I am correct here, I don't think there's currently a better way to update these than monkey patching? I've also monkey patched the create_mapping for collective.elasticsearch.indexes.EZCTextIndex but this appears to not apply for those fields in the _default_mapping.
The text was updated successfully, but these errors were encountered: