The media scanner does not sort the results of search queries
Bug #1234145 reported by
James Henstridge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mediascanner |
Fix Released
|
Undecided
|
James Henstridge | ||
mediascanner (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
To perform searches, the media scanner uses a custom Collector class that implements the offset/limit behaviour and passes the results off to an ItemVistor (sic) callback function.
However, results are passed to a Lucene collector either in document ID order or an undefined order (depending on what the collector returns from its acceptsDocsOutO
Related branches
lp:~jamesh/mediascanner/sort-results
- Jussi Pakkanen (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 119 lines (+58/-5)2 files modifiedsrc/mediascanner/mediaindex.cpp (+22/-4)
tests/auto/griloplugintest.cpp (+36/-1)
Changed in mediascanner: | |
assignee: | nobody → James Henstridge (jamesh) |
Changed in mediascanner: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:mediascanner at revision 389, scheduled for release in mediascanner, milestone Unknown