[Xapian-discuss] bootstrap: macro `AM_CXXFLAGS' not found in library

Kenneth Loafman kenneth at loafman.com
Tue May 1 18:07:36 BST 2007


Olly Betts wrote:
> 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.

Thanks for the pointer!

> Is there something extra you need access to that isn't currently
> available?

Not sure at this time.  I have a few ideas to test out.

>> 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.

That is my plan.

...Ken



More information about the Xapian-discuss mailing list