Ticket #268 (reopened defect)
Review ValueWeightPostingSource, possibly replace with a query operator
| Reported by: | richard | Owned by: | richard |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1.0 |
| Component: | Library API | Version: | SVN trunk |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Operating System: | All | Blocking: |
Description
External PostingSources? have at least two annoying limitations (don't work with remote databases, don't work well with multi databases).
The newly added ValueWeightPostingSource? simply reads a value slot, returns documents with a non empty value, and returns the weight obtained by applying sortable_unserialise to the slot. Therefore, it could be implemented instead by a query operator, which would be similar to the existing OP_VALUE_... operators. This would make the feature available with remote databases and multi databases.
There may be a cleaner alternative which we haven't thought of yet, too.
Marking this for 1.1.0, since ValueWeightPostingSource? isn't yet in the API for any release, and we should remove it before making a release if we're going to remove it at all.
