Top |
GObject ╰── XapianPostingSource ╰── XapianValuePostingSource ╰── XapianValueWeightPostingSource
XapianValueWeightPostingSource is a posting source which reads weights from a value slot.
This returns entries for all documents in the given database which have a non empty values in the specified slot. It returns a weight calculated by applying sortable_unserialise to the value stored in the slot (so the values stored should probably have been calculated by applying sortable_serialise to a floating point number at index time).
XapianValueWeightPostingSource * xapian_value_weight_posting_source_new (unsigned int slot
,GError **error
);
If the initializion failed, error
is set, and this function
will return NULL
.
Since: 1.2