prioritizing aggregated DBs

Olly Betts olly at survex.com
Sun Feb 9 22:23:09 GMT 2020


On Sat, Feb 08, 2020 at 06:04:42PM +0000, Eric Wong wrote:
> Olly Betts <olly at survex.com> wrote:
> > On Fri, Feb 07, 2020 at 09:33:08PM +0000, Eric Wong wrote:
> > > Or would I fiddle with wdf_inc for all ->index_text and ->add_term
> > > calls on a per-DB basis?
> > 
> > That would probably work if you don't want to be able to vary the
> > prioritisation dynamically.
> 
> That's a compromise I'll have to make, for now.  Thanks for the
> response!

BTW, for either approach try to add the databases which are more boosted
first.  That will tend to mean more good matches are found sooner, which
will help the matcher take short cuts.

Cheers,
    Olly



More information about the Xapian-discuss mailing list