C# Class Rebel.Lucene.TransactionalIndexWorker

Inheritance: DisposableObject
显示文件 Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
Add ( Document document ) : void
Commit ( ) : void
RemoveAll ( ) : void
RemoveWhere ( Term term ) : void
TransactionalIndexWorker ( IndexConfiguration indexConfiguration, IndexWriter indexWriter ) : System
TryOptimize ( ) : bool
TryOptimizeDeletions ( ) : bool
TryRollback ( ) : bool

Protected Methods

Method Description
DisposeResources ( ) : void

Method Details

Add() public method

public Add ( Document document ) : void
document Document
return void

Commit() public method

public Commit ( ) : void
return void

DisposeResources() protected method

protected DisposeResources ( ) : void
return void

RemoveAll() public method

public RemoveAll ( ) : void
return void

RemoveWhere() public method

public RemoveWhere ( Term term ) : void
term Term
return void

TransactionalIndexWorker() public method

public TransactionalIndexWorker ( IndexConfiguration indexConfiguration, IndexWriter indexWriter ) : System
indexConfiguration IndexConfiguration
indexWriter IndexWriter
return System

TryOptimize() public method

public TryOptimize ( ) : bool
return bool

TryOptimizeDeletions() public method

public TryOptimizeDeletions ( ) : bool
return bool

TryRollback() public method

public TryRollback ( ) : bool
return bool