Paul Savoldelli
04/02/2025, 7:16 AMsort_by
options — even though we'll enforce some constraints to keep things manageable.
Right now, what I’m experimenting with (and it’s working fairly well) is indexing a separate collection, where a ranking score is precomputed based on the business rule. Then, I create a curation rule that joins with this new collection to apply the custom sorting.
The downside, though, is that the whole process — and especially the rule configuration interface — becomes less real-time. Since I need to reindex this rule at creation time, it prevents me from offering immediate preview capabilities in the business admin interface, for instance