lunar icon indicating copy to clipboard operation
lunar copied to clipboard

Improved search indexing

Open glennjacobs opened this issue 2 years ago • 1 comments

At the moment it is not easy to order products within a Collection easily by price and other fields. This is a typical requirement when displaying a "category" on a storefront.

To avoid complex database queries, we would normally look to search (Laravel Scout) to solve this. However, at present, we are not indexing Collections or prices against Products in Meilisearch and we are not generating indexes for different sorting, e.g. price desc.

We could do with a recommended approach for this.

glennjacobs avatar Mar 19 '22 19:03 glennjacobs

@alecritson do we want to try to get something in beta11 for this? From what I can see Collections and Price data would be helpful.

glennjacobs avatar Mar 29 '22 17:03 glennjacobs