Searching in multiple databases with different steeming

Emmanuel Engelhart kelson at kiwix.org
Sat Aug 13 16:13:56 BST 2022


Hi

These days we discover the challenges and joys of searching things in 
multiple databases. Xapian is great because it allows to do so in one 
run, which means it recombines the results by itself.

In our case, our indexes can be multi-language and steemed accordingly. 
It means, we have for example one index in French and an other one in 
English.

Unfortunately, the search request can either be steemed in English or in 
French. Which means that if an unsteemed pattern might exist in both 
languages (French and English share a lot of words), the steemed version 
will be for one language only and therefore we will get results for one 
database.

For the moment, this is not really clear how we should deal with this 
problem/limitation. Any idea? Would that be possible to merge properly 
two Msets (resulting of two search requests)?

Regards
Kelson

-- 
Kiwix - Wikipedia Offline & more
* Web: https://kiwix.org/
* Twitter: https://twitter.com/KiwixOffline
* Wiki: https://wiki.kiwix.org/



More information about the Xapian-discuss mailing list