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}.

Namespace: Lucene.Net.Store
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual IndexInput OpenInput(
	string name,
	int bufferSize
)
Visual Basic
Public Overridable Function OpenInput ( _
	name As String, _
	bufferSize As Integer _
) As IndexInput
Visual C++
public:
virtual IndexInput^ OpenInput(
	String^ name, 
	int bufferSize
)

Parameters

name
Type: System..::..String

[Missing <param name="name"/> documentation for "M:Lucene.Net.Store.Directory.OpenInput(System.String,System.Int32)"]

bufferSize
Type: System..::..Int32

[Missing <param name="bufferSize"/> documentation for "M:Lucene.Net.Store.Directory.OpenInput(System.String,System.Int32)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Store.Directory.OpenInput(System.String,System.Int32)"]

See Also