C# Class LuceneIndexManager.AbstractIndexDefinition

Basic implementation of an Index definition. Uses RAMDirectory to store the Lucene index. Well suited for running tests
Inheritance: IIndexDefinition
Mostrar archivo Open project: tucaz/LuceneIndexManager

Public Methods

Method Description
GetAllDocuments ( ) : IEnumerable
GetDefaultQueryParser ( ) : QueryParser
GetFacetsDefinition ( ) : List
GetIndexSearcher ( ) : IndexSearcher
GetIndexWriter ( ) : IndexWriter

Protected Methods

Method Description
GetAnalyzer ( ) : Analyzer
GetDirectory ( ) : Lucene.Net.Store.Directory

Method Details

GetAllDocuments() public method

public GetAllDocuments ( ) : IEnumerable
return IEnumerable

GetAnalyzer() protected method

protected GetAnalyzer ( ) : Analyzer
return Lucene.Net.Analysis.Analyzer

GetDefaultQueryParser() public method

public GetDefaultQueryParser ( ) : QueryParser
return Lucene.Net.QueryParsers.QueryParser

GetDirectory() protected method

protected GetDirectory ( ) : Lucene.Net.Store.Directory
return Lucene.Net.Store.Directory

GetFacetsDefinition() public method

public GetFacetsDefinition ( ) : List
return List

GetIndexSearcher() public method

public GetIndexSearcher ( ) : IndexSearcher
return Lucene.Net.Search.IndexSearcher

GetIndexWriter() public method

public GetIndexWriter ( ) : IndexWriter
return Lucene.Net.Index.IndexWriter