public ShardIndexSearcher(ShardSearchingTestBase.NodeState nodeState, long[] nodeVersions, IndexReader localReader, int nodeID)
     : base(localReader)
 {
     this.outerInstance = nodeState;
     this.nodeVersions  = nodeVersions;
     MyNodeID           = nodeID;
     Debug.Assert(MyNodeID == nodeState.MyNodeID, "myNodeID=" + nodeID + " NodeState.this.myNodeID=" + nodeState.MyNodeID);
 }
Beispiel #2
0
 public ShardIndexSearcher(ShardSearchingTestBase.NodeState nodeState, long[] nodeVersions, IndexReader localReader, int nodeID)
     : base(localReader)
 {
     this.outerInstance = nodeState;
     this.nodeVersions  = nodeVersions;
     MyNodeID           = nodeID;
     if (Debugging.AssertsEnabled)
     {
         Debugging.Assert(MyNodeID == nodeState.MyNodeID, "myNodeID={0} nodeState.MyNodeID={1}", nodeID, nodeState.MyNodeID);
     }
 }
 public ShardIndexSearcher(ShardSearchingTestBase.NodeState outerInstance, long[] nodeVersions, IndexReader localReader, int nodeID)
     : base(localReader)
 {
     this.OuterInstance = outerInstance;
     this.NodeVersions = nodeVersions;
     MyNodeID = nodeID;
     Debug.Assert(MyNodeID == outerInstance.MyNodeID, "myNodeID=" + nodeID + " NodeState.this.myNodeID=" + outerInstance.MyNodeID);
 }