meilisearch / meilisearch-symfony

Seamless integration of Meilisearch into your Symfony project.
https://www.meilisearch.com
MIT License
125 stars 30 forks source link

Working with facets #274

Open vldmr-k opened 1 year ago

vldmr-k commented 1 year ago

I try to use this bundle for ecommerce website. It's Very common futures on all of the, it's facets search.

Description

Now, I can do it only execute request Meilisearch\Client class. But it would be great, get it via bundle api.

Basic example

For example, method search and rawSearch should return DTO class with all getters of feald from this table

Other Any other things you want to add.

norkunas commented 1 year ago

Hi @vldmr-k,

Method search returns directly a list of entities, so we cannot return anything other from this method otherwise it would be a BC break.

And rawSearch should return it because it practically returns response from the meilisearch instance :thinking:

brunoocasali commented 1 year ago

@norkunas we can close this, I agree with you!