Hi, one of my colleagues found a bug in BooleanScorer2. Due to an erroneous port of the Java code prohibited scorers were never used in the score() method. Test case and fix are pushed to the branch BooleanScorer2_fix [1]. I added a MockScorer and MockHitCollector to create this test case. Maybe they are useful for other test cases too.
Kind regards, Veit [1] http://clucene.git.sourceforge.net/git/gitweb.cgi?p=clucene/clucene;a=shortlog;h=refs/heads/BooleanScorer2_fix ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ CLucene-developers mailing list CLucene-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clucene-developers