Dubious stuff spotted in LowerCaseFilter

2015-10-21 Thread Trejkaz
Hi all. LowerCaseFilter uses CharacterUtils.toLowerCase to perform its work. The latter method looks like this: public final void toLowerCase(final char[] buffer, final int offset, final int limit) { assert buffer.length >= limit; assert offset <=0 && offset <= buffer.length; for (int i = o

ConjunctionScorer access

2015-10-21 Thread Sheng
It's a bummer Lucene makes the constructor of ConjunctionScorer non-public. I wanted to extend from this class in order to tweak its behavior for my use case. Is it possible to change it to protected in future releases ?