[Xapian-discuss] Long query times
tech at dbx.co.uk
tech at dbx.co.uk
Mon Oct 3 10:26:06 BST 2005
Thanks for that Olly,
I must be being thick here -but how do I set the weighting scheme to
Boolean only though?
The Weight classes aren't implemented in Perl.
Cheers,
Jeremy
Original Message:
-----------------
From: Olly Betts olly at survex.com
Date: Fri, 30 Sep 2005 17:23:13 +0100
To: derbex at pop3.uklinux.net, xapian-discuss at lists.xapian.org
Subject: Re: [Xapian-discuss] Long query times
On Fri, Sep 30, 2005 at 12:13:41PM -0400, derbex at pop3.uklinux.net wrote:
> Riiiight -can't say anything obvious leaps out of the documentation. The
> only two methods labelled 'For compatibility with Xapian 0.8.5 and
earlier'
> in Enquire are set_sorting() -which is what I'm trying to get away from,
> and set_sort_forward()?
It's the latter - set_docid_order replaces set_sort_forward. It was rather
poorly named before, and people tended to think it controlled the order
when sorting on a value (which wasn't possible before).
Old "true" is new ASCENDING, while "false" is DESCENDING. DONT_CARE is
new in the new interface (conceptually it allows the matcher and backend
to pick whichever order is most efficient to use but currently it always
results in ASCENDING).
Hmm, looking at the docs I realise that as well as saying they're for
compatibility, we should point users at the replacement methods! I'll
fix that...
Cheers,
Olly
_______________________________________________
Xapian-discuss mailing list
Xapian-discuss at lists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
More information about the Xapian-discuss
mailing list