make PrimaryNode's IndexWriter protected

This commit is contained in:
Mike McCandless 2016-11-18 06:22:30 -05:00
parent 0e50101ee3
commit fb14ed82f8
1 changed files with 1 additions and 1 deletions

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;