How to ungroup related items from a query

Hi,

I contact you because we are 3 guys trying to solve this problem, without result since weeks :frowning:
Maybe you will have some ideas ? suggestions ? Anything :wink:

Here is the situation, I have the following business model

  • products
  • store

Where a store can own a lot of products (thousands).

So, my query compute the score based on:

  • a text filter
  • a distance to a store

Now, imagine that I do a generic query like "shoes", the problem I have now
is that it shows all the results from the first store, which is the closer (a group of 40, at 10km), then all from the next store (at 15km).

I'm looking for a way to "shuffle" without loosing (too much) of the relevancy. It is not very good to display all the result from the first group, then the next :frowning:

Does anyone has an idea ?

Thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.