Apache Lucene.Net 2.4.0 Class Library API

Directory.OpenInput Method

Returns a stream reading an existing file.

Overload List

Returns a stream reading an existing file.

public abstract IndexInput OpenInput(string);

Returns a stream reading an existing file, with the specified read buffer size. The particular Directory implementation may ignore the buffer size. Currently the only Directory implementations that respect this parameter are {@link FSDirectory} and {@link Lucene.Net.Index.CompoundFileReader}.

public virtual IndexInput OpenInput(string,int);

See Also

Directory Class | Lucene.Net.Store Namespace