Hello !

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

1) public Weight createWeight(Searcher searcher) in
org.apache.lucene.search.Query and its subclasess.

2) public boolean score(HitCollector hc, int max) throws IOException
in org.apache.lucene.search.Scorer and its subclasess.

3) org.apache.lucene.search.ConjunctionScorer 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 org.apache.lucene.search.

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

-- 
Best regards,
 Alexey                          mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to