Hi,
We are migrating from Sphinx to Manticore for a multitenant platform and so far we are very pleased with the performance.
I am trying to find the optimal approach for indexing:
- one table per tenant (many small tables with few thousand records)
- one single table (15 mil records)
- separate tables per groups (30-50 groups)
For Sphinx we used in the past third option and trigrams index for autocompletion. We also used Call Qsuggest for another project with Sphinx and is working well.
My problem is that if we use Call Qsuggest for a multitenant environment the results would not be relevant as it would include results from other tenants (we only want to give suggestions that would return results for current tenant)
My questions are:
- any hack to apply where filter to Call Qsuggest?
- would it be a reasonable solution from a performance point of view to have around 2-3000 tables (one table per tenant)
- any other hack to make use of Qsuggest instead of trigrams?
Thank you