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 see that the @@search view (CMFPlone.browser.search.Search) is updated for the IElasticSearchLayer by having the munge_search_term method just return the original query. But @@ajax-search ((CMFPlone.browser.search.AjaxSearch) subclasses CMFPlone.browser.search.Search not collective.elasticsearch.browser.search.Search, so it's still munging in a way that doesn't get expected behavior from elasticsearch.
I'm not sure what the best approach is but I think you need to either 1) monkey patch it instead (I think that works?) or 2) also update the view for @@ajax-search
The text was updated successfully, but these errors were encountered:
I see that the @@search view (CMFPlone.browser.search.Search) is updated for the IElasticSearchLayer by having the munge_search_term method just return the original query. But @@ajax-search ((CMFPlone.browser.search.AjaxSearch) subclasses CMFPlone.browser.search.Search not collective.elasticsearch.browser.search.Search, so it's still munging in a way that doesn't get expected behavior from elasticsearch.
I'm not sure what the best approach is but I think you need to either 1) monkey patch it instead (I think that works?) or 2) also update the view for @@ajax-search
The text was updated successfully, but these errors were encountered: