Skip to content

feat: add support for boolean operators search, if detected in query

Walter requested to merge feature/boolean-operators-support into master

With this change we detect boolean operators in the BeforeSearch and adjust the query accordingly. By overwriting the "multi_match" to a "query_string" we add support for boolean operator search while making sure the facets keep working properly.

Open questions:

  • This change would mean that all projects that update react-searchkit would have automatic support for it. Is this what we want? Or do we want to add a boolean prop to the component to allow them to turn it on/off?

Merge request reports

Loading