Wimmics / solid-start

Projet SOLID Inria - Startin'blox
MIT License
1 stars 0 forks source link

Study multi-criteria indexing #21

Open lecoqlibre opened 7 months ago

lecoqlibre commented 7 months ago

We demonstrated that it is very easy and efficient to use indexes for searching data with one criteria (ex: skill).

How can we handle multiple criteria?

Ideas:

Use case examples:

  1. we are searching a user given its skills and city.
  2. we are searching a user given its skills, city and name.

Parse several indexes on the fly

We are going to chain the indexes: filter the next index with the results of the previous one.

FabienGandon commented 7 months ago

Here we touch the topic of "query solving planning" and the Rubens have this in their future work i.e. to design dedicated query solving planning for traversal query solving on top of SOLID. There is a huge literature on the subject with its roots in distributed databases.

pchampin commented 6 months ago

I agree with @FabienGandon , this is a huge topic. It could quickly become a rabbit hole. There are already a number of questions you need to answer about mono-criterion indexing:

The combinatorics is, IMO, large enough that we don't make multi-criteria indexes a priority. My 2¢ anyway.