[Xapian-discuss] Remote access to database

Olly Betts olly at survex.com
Wed Jul 13 01:43:13 BST 2005


On Wed, Jul 13, 2005 at 01:07:12AM +0100, Francis Irving wrote:
> On Tue, Jul 12, 2005 at 11:35:41AM +0100, Olly Betts wrote:
> > The remote backend doesn't support sorting on a value currently though
> > which might be an issue.
>
> You mean via Enquire::set_sorting ?

Yes.

Or via Enquire::set_sort_by_value or Enquire::set_sort_by_value_then_relevance
which is the preferred API now (these allow reverse sorting on a value too).

> We use that.  How hard would it be to fix?

I don't think it would be very hard.  It's just this way because sorting
on a value was added after the remote backend and nobody got round to
filling in the gap.

Hmm, it might just be enough to pass the sort value across the link and
then everything else would just magically fall into place correctly.
I'll just try that...

Cheers,
    Olly



More information about the Xapian-discuss mailing list