Opened 15 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 , 15 years ago
Component: | Search::Xapian → Xapian-bindings |
---|---|
Status: | new → assigned |
comment:2 by , 15 years ago
Milestone: | → 1.1.3 |
---|
Should be easy to add a check for this - marking for 1.1.3.
comment:3 by , 15 years ago
Component: | Xapian-bindings → Library API |
---|---|
Milestone: | 1.1.3 → 1.0.17 |
Operating System: | Linux → All |
Now throws UnimplementedError as of trunk r13565. Marking to backport for 1.0.17.
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Summary: | XapianMultiValueSorter doesn't work with remote databases → XapianMultiValueSorter 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.
Currently using a Sorter isn't supported with the remote backend, but it really should give an error instead of quietly returning incorrect results.