lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Panchenko <>
Subject Patch to increse visibility of some classes/methods
Date Wed, 01 Dec 2004 06:20:41 GMT
Hello !

This patch increases visibility from protected/package level to public
of the following:

1) public Weight createWeight(Searcher searcher) in and its subclasess.

2) public boolean score(HitCollector hc, int max) throws IOException
in and its subclasess.

3) and its "void add(Scorer
scorer)" method.

I am building a Query implementation which should match documents that
are matched by specified number of subqueries. It works very much the
same as BooleanQuery, but checks the number of matched subqueries
which should be greater than or equal to the specified value.

The patch is needed to allow access to these classes/members from
other packages, not just

I will email the final version of my Query implementation to the list,
so in the future versions probably it will be included in, but it is in separate package for now.

Best regards,

View raw message