mocobeta commented on a change in pull request #2023: URL: https://github.com/apache/lucene-solr/pull/2023#discussion_r511369770
########## File path: lucene/core/src/java/org/apache/lucene/search/MultiPhraseQuery.java ########## @@ -575,17 +575,17 @@ private void growArray() { } } - // Slower version of UnionPostingsEnum that delegates offsets and positions, for - // use by MatchesIterator - static class UnionFullPostingsEnum extends UnionPostingsEnum { + /** Slower version of UnionPostingsEnum that delegates offsets and positions, for + use by MatchesIterator */ + public static class UnionFullPostingsEnum extends UnionPostingsEnum { Review comment: This is used in o.a.l.sandbox.search.PhraseWildcardQuery. ########## File path: lucene/core/src/java/org/apache/lucene/search/MultiPhraseQuery.java ########## @@ -575,17 +575,17 @@ private void growArray() { } } - // Slower version of UnionPostingsEnum that delegates offsets and positions, for - // use by MatchesIterator - static class UnionFullPostingsEnum extends UnionPostingsEnum { + /** Slower version of UnionPostingsEnum that delegates offsets and positions, for + use by MatchesIterator */ + public static class UnionFullPostingsEnum extends UnionPostingsEnum { int freq = -1; boolean started = false; final PriorityQueue<PostingsAndPosition> posQueue; final Collection<PostingsAndPosition> subs; - UnionFullPostingsEnum(List<PostingsEnum> subs) { + public UnionFullPostingsEnum(List<PostingsEnum> subs) { Review comment: Same above. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org