[ https://issues.apache.org/jira/browse/LUCENE-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759111#action_12759111 ]
Tim Smith commented on LUCENE-1925: ----------------------------------- i would also like to see a protected constructor that takes: IndexSearcher(IndexReader reader, IndexReader[] subReaders, int[] docOffsets) this way a subclass can avoid any constructor costs and pass exactly the sub readers/offsets it wants this constructor would also be marked "expert/subject to change" of course > In IndexSearcher class, make subReader and docCount arrays protected so sub > classes can access them > --------------------------------------------------------------------------------------------------- > > Key: LUCENE-1925 > URL: https://issues.apache.org/jira/browse/LUCENE-1925 > Project: Lucene - Java > Issue Type: Improvement > Components: Search > Affects Versions: 2.9 > Reporter: John Wang > Assignee: Michael McCandless > Fix For: 3.0 > > > Please make these two member variables protected so subclasses can access > them, e.g.: > protected IndexReader[] subReaders; > protected int[] docStarts; > Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org