Good day!

While working on SOLR-5743, which nobody wants to comment, I face the
problem.
Collector from Solr codebase should call package visible member:
o.a.l.s.join.ToParentBlockJoinQuery.BlockJoinScorer.swapChildDocs(int[])

I see the following alternatives:
- straightforwardly, make BlockJoinScorer.swapChildDocs(int[]) public;
- trickily add public class, which allows to call swapChildDocs() into
o.a.l.s.join. and call this accessor from Solr.
- meanly put Solr class in Solr codebase into lucene package o.a.l.s.join.

The context is that so far it seems like an experimental feature at 5.5,
and I can imagine that it will be removed in 6.0.Thus, the first option
seems more doubtful to me.

Which one will be healthier for Lucene?

--
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
<[email protected]>

Reply via email to