An indexer implementation for Lucene.NET (http://incubator.apache.org/lucene.net/).

Namespace: Simol.Indexing
Assembly: Simol (in Simol.dll) Version: 1.0.0.0

Syntax

C#
public class LuceneIndexer : IIndexer, 
	IDisposable
Visual Basic
Public Class LuceneIndexer _
	Implements IIndexer, IDisposable
Visual C++
public ref class LuceneIndexer : IIndexer, 
	IDisposable

Remarks

Instances of this class are thread-safe. However all instances share the same set of Lucene IndexWriters and IndexSearchers (one per index/domain). This is recommended as writers and searchers are expensive to create.

Since underlying resources are shared there is no performance benefit from using multiple instances and there can be adverse consequences: disposing one instance will close the shared Lucene resources and may interfere with ongoing operations in the other instances.

Inheritance Hierarchy

System..::..Object
  Simol.Indexing..::..LuceneIndexer

See Also