[Xapian-discuss] Revision: 15699: $tg->index_text ($text, $weight) fails with 'No matching function for overloaded 'TermGenerator_index_text''

Henry C. henka at cityweb.co.za
Tue Jun 21 14:30:40 BST 2011


On Tue, June 21, 2011 09:52, Olly Betts wrote:
> Not here - this is simply the amount which is added to the wdf for
> each occurrence of a particular term.  OTOH, OP_SCALE_WEIGHT allows a floating
> point scale factor because it's scaling the weight returned by a term (which
> is a Xapian::weight).
>
> So it's a slight incompatibility (presumably XS Search::Xapian accepts
> this) but it doesn't actually stop you doing anything you could actually do
> before.
>
> I'll see if this can be accepted.

Thanks for the response - ok, I'll simply convert them to integers.




More information about the Xapian-discuss mailing list