Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Classes | Public Member Functions | List of all members
Lucene.Net.Index.FieldsReader Class Reference

Class responsible for access to stored document fields. It uses <segment>.fdt and <segment>.fdx; files. More...

Inherits ICloneable, and IDisposable.

Public Member Functions

System.Object Clone ()
 Returns a cloned FieldsReader that shares open IndexInputs with the original one. It is the caller's job not to close the original FieldsReader until all clones are called (eg, currently SegmentReader manages this logic).
 
 FieldsReader (Directory d, String segment, FieldInfos fn)
 
void Dispose ()
 Closes the underlying Lucene.Net.Store.IndexInput streams, including any ones associated with a lazy implementation of a Field. This means that the Fields values will not be accessible.
 
int Size ()
 
Document Doc (int n, FieldSelector fieldSelector)
 

Detailed Description

Class responsible for access to stored document fields.

It uses <segment>.fdt and <segment>.fdx; files.

Definition at line 37 of file FieldsReader.cs.

Constructor & Destructor Documentation

Lucene.Net.Index.FieldsReader.FieldsReader ( Directory  d,
String  segment,
FieldInfos  fn 
)

Definition at line 90 of file FieldsReader.cs.

Member Function Documentation

System.Object Lucene.Net.Index.FieldsReader.Clone ( )

Returns a cloned FieldsReader that shares open IndexInputs with the original one. It is the caller's job not to close the original FieldsReader until all clones are called (eg, currently SegmentReader manages this logic).

Definition at line 69 of file FieldsReader.cs.

void Lucene.Net.Index.FieldsReader.Dispose ( )

Closes the underlying Lucene.Net.Store.IndexInput streams, including any ones associated with a lazy implementation of a Field. This means that the Fields values will not be accessible.

<throws> IOException </throws>

Definition at line 175 of file FieldsReader.cs.

Document Lucene.Net.Index.FieldsReader.Doc ( int  n,
FieldSelector  fieldSelector 
)

Definition at line 223 of file FieldsReader.cs.

int Lucene.Net.Index.FieldsReader.Size ( )

Definition at line 204 of file FieldsReader.cs.


The documentation for this class was generated from the following file: