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
Currently this method checks if there is an ES index passed in the kw parameter, but it may be passed in the REQUEST parameter. It is basically the difference between calling catalog(query) (REQUEST) and catalog(**query) (kw). If the former is called (I noticed it does this in plone.app.vocabularies.catalog) what happens is ElasticSearchCatalog determines it is not relevant to ES and sends it to the default catalog search, but if you've deleted your SearchableText index there it effectively ignores that index.
You probably want to have the searchResults method first build query out of REQUEST and kw and then check that for relevance.
The text was updated successfully, but these errors were encountered:
Currently this method checks if there is an ES index passed in the kw parameter, but it may be passed in the REQUEST parameter. It is basically the difference between calling catalog(query) (REQUEST) and catalog(**query) (kw). If the former is called (I noticed it does this in plone.app.vocabularies.catalog) what happens is ElasticSearchCatalog determines it is not relevant to ES and sends it to the default catalog search, but if you've deleted your SearchableText index there it effectively ignores that index.
You probably want to have the searchResults method first build query out of REQUEST and kw and then check that for relevance.
The text was updated successfully, but these errors were encountered: