On Tue, May 01, 2007 at 06:48:36AM -0500, Kenneth Loafman
wrote:
> No need to test for 1.0.0, but I do need to gen a new
version with my
> own weighting scheme.
You can implement your own weighting scheme just by
subclassing
Xapian::Weight - no modifications to the library should be
necessary.
For an example, see "MyWeight" in
tests/api_db.cc.
Is there something extra you need access to that isn't
currently
available?
> If you can tokenize it, you can search it, and some
weighting schemes
> work better than others if the corpus is other than a
collection of
> documents.
If the weighting scheme is likely to be useful to others,
I'd encourage
you to submit it for inclusion in Xapian.
Cheers,
Olly
_______________________________________________
Xapian-discuss mailing list
Xapian-discuss lists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss
a>
|