make PrimaryNode's IndexWriter protected

This commit is contained in:
Mike McCandless 2016-11-18 06:22:30 -05:00
parent 6d540b9d7a
commit 5e062d209a

View File

@ -56,7 +56,7 @@ public abstract class PrimaryNode extends Node {
// Current NRT segment infos, incRef'd with IndexWriter.deleter:
private SegmentInfos curInfos;
final IndexWriter writer;
protected final IndexWriter writer;
// IncRef'd state of the last published NRT point; when a replica comes asking, we give it this as the current NRT point:
private CopyState copyState;