Opened 16 years ago

Closed 15 years ago

#384 closed defect (fixed)

XapianMultiValueSorter silently fails to work with remote databases

Reported by: Marek Mizier Owned by: Olly Betts
Priority: normal Milestone: 1.0.17
Component: Library API Version: 1.0.13
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description

Sorting with XapianMultiValueSorter while connected to a remote database returns documents in random order. Xapian doesn't respond to forward/backward order changes and adding/removing sort fields.

Sorter works fine with local databases though.

Tested under php/symfony running on ubuntu linux.

Change History (4)

comment:1 by Olly Betts, 16 years ago

Component: Search::XapianXapian-bindings
Status: newassigned

Currently using a Sorter isn't supported with the remote backend, but it really should give an error instead of quietly returning incorrect results.

comment:2 by Olly Betts, 15 years ago

Milestone: 1.1.3

Should be easy to add a check for this - marking for 1.1.3.

comment:3 by Olly Betts, 15 years ago

Component: Xapian-bindingsLibrary API
Milestone: 1.1.31.0.17
Operating System: LinuxAll

Now throws UnimplementedError as of trunk r13565. Marking to backport for 1.0.17.

comment:4 by Olly Betts, 15 years ago

Resolution: fixed
Status: assignedclosed
Summary: XapianMultiValueSorter doesn't work with remote databasesXapianMultiValueSorter silently fails to work with remote databases

Also trunk r13566 stops us running changesorter1 and oldchangesorter1 under the remote backend, where they now fail!

Backported both of these changes for 1.0.17 in r13591.

Tweaking this bug to clearly be for the silent failure to work, and closing it. I've opened #413 to track actually implementing this.

Note: See TracTickets for help on using tickets.