public ThreadAnonymousInnerClassHelper(TestPayloads outerInstance, int numDocs, Lucene.Net.Index.TestPayloads.ByteArrayPool pool, IndexWriter writer, string field) { this.OuterInstance = outerInstance; this.NumDocs = numDocs; this.Pool = pool; this.Writer = writer; this.Field = field; }
private void InitBlock(int numDocs, System.String field, Lucene.Net.Index.TestPayloads.ByteArrayPool pool, Lucene.Net.Index.IndexWriter writer, TestPayloads enclosingInstance) { this.numDocs = numDocs; this.field = field; this.pool = pool; this.writer = writer; this.enclosingInstance = enclosingInstance; }
public ThreadAnonymousInnerClassHelper(TestPayloads outerInstance, int numDocs, ByteArrayPool pool, IndexWriter writer, string field) { this.outerInstance = outerInstance; this.numDocs = numDocs; this.pool = pool; this.writer = writer; this.field = field; }
internal PoolingPayloadTokenStream(TestPayloads enclosingInstance, ByteArrayPool pool) { InitBlock(enclosingInstance); this.pool = pool; payload = pool.Get(); Enclosing_Instance.GenerateRandomData(payload); term = pool.BytesToString(payload); first = true; payloadAtt = AddAttribute <IPayloadAttribute>(); termAtt = AddAttribute <ITermAttribute>(); }
internal PoolingPayloadTokenStream(TestPayloads outerInstance, ByteArrayPool pool) { this.outerInstance = outerInstance; this.pool = pool; payload = pool.Get(); this.outerInstance.GenerateRandomData(payload); term = Encoding.UTF8.GetString(payload); first = true; payloadAtt = AddAttribute <IPayloadAttribute>(); termAtt = AddAttribute <ICharTermAttribute>(); }
internal PoolingPayloadTokenStream(TestPayloads outerInstance, ByteArrayPool pool) { this.OuterInstance = outerInstance; this.Pool = pool; Payload = pool.Get(); OuterInstance.GenerateRandomData(Payload); Term = Encoding.UTF8.GetString((byte[])(Array)Payload); First = true; PayloadAtt = AddAttribute <IPayloadAttribute>(); TermAtt = AddAttribute <ICharTermAttribute>(); }
private void InitBlock(TestPayloads enclosingInstance) { this.enclosingInstance = enclosingInstance; }
public AnonymousClassThread(int numDocs, System.String field, Lucene.Net.Index.TestPayloads.ByteArrayPool pool, Lucene.Net.Index.IndexWriter writer, TestPayloads enclosingInstance) { InitBlock(numDocs, field, pool, writer, enclosingInstance); }
internal PoolingPayloadTokenStream(TestPayloads enclosingInstance, ByteArrayPool pool) { InitBlock(enclosingInstance); this.pool = pool; payload = pool.Get(); Enclosing_Instance.GenerateRandomData(payload); term = pool.BytesToString(payload); first = true; payloadAtt = (PayloadAttribute) AddAttribute(typeof(PayloadAttribute)); termAtt = (TermAttribute) AddAttribute(typeof(TermAttribute)); }
internal PoolingPayloadTokenStream(TestPayloads outerInstance, ByteArrayPool pool) { this.OuterInstance = outerInstance; this.Pool = pool; Payload = pool.Get(); OuterInstance.GenerateRandomData(Payload); Term = Encoding.UTF8.GetString((byte[])(Array)Payload); First = true; PayloadAtt = AddAttribute<IPayloadAttribute>(); TermAtt = AddAttribute<ICharTermAttribute>(); }