C# Class RavenFS.Search.IndexStorage

Inheritance: IDisposable
Afficher le fichier Open project: hibernating-rhinos/RavenFS Class Usage Examples

Méthodes publiques

Méthode Description
Delete ( string key ) : void
Dispose ( ) : void
GetTermsFor ( string field, string fromValue ) : IEnumerable
Index ( string key, NameValueCollection metadata ) : void
IndexStorage ( string path, NameValueCollection _ ) : System
Initialize ( ) : void
Query ( string query, string sortFields, int start, int pageSize, int &totalResults ) : string[]

Private Methods

Méthode Description
CreateDocument ( string lowerKey, NameValueCollection metadata ) : Lucene.Net.Documents.Document
ExecuteQuery ( IndexSearcher searcher, string sortFields, Query q, int size ) : Lucene.Net.Search.TopDocs
GetSearcher ( IndexSearcher &searcher ) : IDisposable
ReplaceSearcher ( ) : void

Method Details

Delete() public méthode

public Delete ( string key ) : void
key string
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetTermsFor() public méthode

public GetTermsFor ( string field, string fromValue ) : IEnumerable
field string
fromValue string
Résultat IEnumerable

Index() public méthode

public Index ( string key, NameValueCollection metadata ) : void
key string
metadata System.Collections.Specialized.NameValueCollection
Résultat void

IndexStorage() public méthode

public IndexStorage ( string path, NameValueCollection _ ) : System
path string
_ System.Collections.Specialized.NameValueCollection
Résultat System

Initialize() public méthode

public Initialize ( ) : void
Résultat void

Query() public méthode

public Query ( string query, string sortFields, int start, int pageSize, int &totalResults ) : string[]
query string
sortFields string
start int
pageSize int
totalResults int
Résultat string[]