C# Class Raven.Database.Indexing.SimpleIndex

Inheritance: Index
显示文件 Open project: nhsevidence/ravendb Class Usage Examples

Public Methods

Method Description
IndexDocuments ( AbstractViewGenerator viewGenerator, IEnumerable documents, WorkContext context, IStorageActionsAccessor actions, System.DateTime minimumTimestamp ) : void
Remove ( string keys, WorkContext context ) : void
SimpleIndex ( Lucene.Net.Store.Directory directory, string name, Raven.Database.Indexing.IndexDefinition indexDefinition, AbstractViewGenerator viewGenerator ) : System

Private Methods

Method Description
ExtractIndexDataFromDocument ( AnonymousObjectToLuceneDocumentConverter anonymousObjectToLuceneDocumentConverter, Raven.Database.Linq.DynamicJsonObject dynamicJsonObject ) : IndexingResult
ExtractIndexDataFromDocument ( AnonymousObjectToLuceneDocumentConverter anonymousObjectToLuceneDocumentConverter, PropertyDescriptorCollection properties, object doc ) : IndexingResult

Method Details

IndexDocuments() public method

public IndexDocuments ( AbstractViewGenerator viewGenerator, IEnumerable documents, WorkContext context, IStorageActionsAccessor actions, System.DateTime minimumTimestamp ) : void
viewGenerator Raven.Database.Linq.AbstractViewGenerator
documents IEnumerable
context WorkContext
actions IStorageActionsAccessor
minimumTimestamp System.DateTime
return void

Remove() public method

public Remove ( string keys, WorkContext context ) : void
keys string
context WorkContext
return void

SimpleIndex() public method

public SimpleIndex ( Lucene.Net.Store.Directory directory, string name, Raven.Database.Indexing.IndexDefinition indexDefinition, AbstractViewGenerator viewGenerator ) : System
directory Lucene.Net.Store.Directory
name string
indexDefinition Raven.Database.Indexing.IndexDefinition
viewGenerator Raven.Database.Linq.AbstractViewGenerator
return System