Lucene.Net.Store.FSDirectory.CreateOutput C# (CSharp) Method

CreateOutput() public method

Creates an IndexOutput for the file with the given name.
public CreateOutput ( string name, IOContext context ) : Lucene.Net.Store.IndexOutput
name string
context IOContext
return Lucene.Net.Store.IndexOutput
        public override IndexOutput CreateOutput(string name, IOContext context)
        {
            EnsureOpen();

            EnsureCanWrite(name);
            return new FSIndexOutput(this, name);
        }

Usage Example

示例#1
0
 public override IndexOutput CreateOutput(System.String name, IState state)
 {
     return(fsDir.CreateOutput(name, null));
 }
All Usage Examples Of Lucene.Net.Store.FSDirectory::CreateOutput