Top |
GObject ╰── XapianPostingSource ╰── XapianValuePostingSource ╰── XapianValueWeightPostingSource
XapianValuePostingSource is a XapianPostingSource that generates weights from a value slot. It is typically used as a base class for classes that generate weights using values stored in the specified slot. See XapianValueWeightPostingSource for an implementation that uses sortable_unserialise to convert values directly to weights.
XapianValuePostingSource * xapian_value_posting_source_new (unsigned int slot
,GError **error
);
If the initializion failed, error
is set, and this function
will return NULL
.
Since: 1.2
guint
xapian_value_posting_source_get_slot (XapianValuePostingSource *self
);
Accessor for the value of the “slot” property.
Since: 1.2
“slot”
property“slot” guint
Slot in the database entries to use for source.
Flags: Read / Write / Construct Only
Default value: 0