lunar
lunar copied to clipboard
Improved search indexing
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.
@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.