How to Set Up and Use Elasticsearch with Strapi

We managed to solve this by changing the query to elasticsearch, it is malformed in the demo.

As an example, this worked just fine:

body: {
          query: {
            bool: {
              should: [
                { term: { "attributes.title": "purple" } }
              ]
            }
          }
        }