20 using Document = Lucene.Net.Documents.Document;
24 namespace Lucene.Net.Index
42 protected internal TermDocs in_Renamed;
46 this.in_Renamed = in_Renamed;
49 public virtual void Seek(
Term term)
51 in_Renamed.
Seek(term);
55 in_Renamed.Seek(termEnum);
58 public virtual int Doc
60 get {
return in_Renamed.Doc; }
63 public virtual int Freq
65 get {
return in_Renamed.Freq; }
68 public virtual bool Next()
70 return in_Renamed.Next();
72 public virtual int Read(
int[] docs,
int[] freqs)
74 return in_Renamed.Read(docs, freqs);
76 public virtual bool SkipTo(
int i)
78 return in_Renamed.SkipTo(i);
91 protected virtual void Dispose(
bool disposing)
108 public virtual int NextPosition()
113 public virtual int PayloadLength
115 get {
return ((
TermPositions) this.in_Renamed).PayloadLength; }
118 public virtual byte[] GetPayload(byte[] data,
int offset)
120 return ((
TermPositions) this.in_Renamed).GetPayload(data, offset);
126 public virtual bool IsPayloadAvailable
128 get {
return ((
TermPositions) this.in_Renamed).IsPayloadAvailable; }
135 protected internal TermEnum in_Renamed;
139 this.in_Renamed = in_Renamed;
142 public override bool Next()
144 return in_Renamed.
Next();
149 get {
return in_Renamed.
Term; }
152 public override int DocFreq()
154 return in_Renamed.DocFreq();
157 protected override void Dispose(
bool disposing)
177 this.in_Renamed = in_Renamed;
182 return in_Renamed.Directory();
188 return in_Renamed.GetTermFreqVectors(docNumber);
194 return in_Renamed.GetTermFreqVector(docNumber, field);
198 public override void GetTermFreqVector(
int docNumber, System.String field,
TermVectorMapper mapper)
201 in_Renamed.GetTermFreqVector(docNumber, field, mapper);
207 in_Renamed.GetTermFreqVector(docNumber, mapper);
210 public override int NumDocs()
213 return in_Renamed.NumDocs();
216 public override int MaxDoc
221 return in_Renamed.MaxDoc;
228 return in_Renamed.Document(n, fieldSelector);
231 public override bool IsDeleted(
int n)
234 return in_Renamed.IsDeleted(n);
237 public override bool HasDeletions
242 return in_Renamed.HasDeletions;
246 protected internal override void DoUndeleteAll()
248 in_Renamed.UndeleteAll();
251 public override bool HasNorms(System.String field)
254 return in_Renamed.HasNorms(field);
257 public override byte[] Norms(System.String f)
260 return in_Renamed.Norms(f);
263 public override void Norms(System.String f, byte[] bytes,
int offset)
266 in_Renamed.Norms(f, bytes, offset);
269 protected internal override void DoSetNorm(
int d, System.String f, byte b)
271 in_Renamed.SetNorm(d, f, b);
277 return in_Renamed.Terms();
283 return in_Renamed.Terms(t);
286 public override int DocFreq(
Term t)
289 return in_Renamed.DocFreq(t);
295 return in_Renamed.TermDocs();
301 return in_Renamed.TermDocs(term);
307 return in_Renamed.TermPositions();
310 protected internal override void DoDelete(
int n)
312 in_Renamed.DeleteDocument(n);
315 protected internal override void DoCommit(System.Collections.Generic.IDictionary<
string,
string> commitUserData)
317 in_Renamed.Commit(commitUserData);
320 protected internal override void DoClose()
326 Lucene.Net.Search.FieldCache_Fields.DEFAULT.Purge(
this);
330 public override System.Collections.Generic.ICollection<
string> GetFieldNames(
IndexReader.FieldOption fieldNames)
333 return in_Renamed.GetFieldNames(fieldNames);
341 return in_Renamed.Version;
345 public override bool IsCurrent()
348 return in_Renamed.IsCurrent();
351 public override bool IsOptimized()
354 return in_Renamed.IsOptimized();
362 override public System.Object Clone()
364 System.Diagnostics.Debug.Fail(
"Port issue:",
"Lets see if we need this FilterIndexReader.Clone()");
373 public override object FieldCacheKey
383 public override object DeletesCacheKey
385 get {
return in_Renamed.DeletesCacheKey; }