[Xapian-tickets] [Xapian] #268: Review ValueWeightPostingSource, possibly replace with a query operator
Xapian
nobody at xapian.org
Mon May 12 13:45:35 BST 2008
#268: Review ValueWeightPostingSource, possibly replace with a query operator
-------------------------+--------------------------------------------------
Reporter: richard | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone: 1.1.0
Component: Library API | Version: SVN HEAD
Severity: normal | Keywords:
Blockedby: | Platform: All
Blocking: |
-------------------------+--------------------------------------------------
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.
--
Ticket URL: <http://trac.xapian.org/ticket/268>
Xapian <http://trac.xapian.org>
Xapian
More information about the Xapian-tickets
mailing list