C# Class RavenFS.Search.IndexStorage

Inheritance: IDisposable
Exibir arquivo Open project: hibernating-rhinos/RavenFS Class Usage Examples

Public Methods

Method 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

Method 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 method

public Delete ( string key ) : void
key string
return void

Dispose() public method

public Dispose ( ) : void
return void

GetTermsFor() public method

public GetTermsFor ( string field, string fromValue ) : IEnumerable
field string
fromValue string
return IEnumerable

Index() public method

public Index ( string key, NameValueCollection metadata ) : void
key string
metadata System.Collections.Specialized.NameValueCollection
return void

IndexStorage() public method

public IndexStorage ( string path, NameValueCollection _ ) : System
path string
_ System.Collections.Specialized.NameValueCollection
return System

Initialize() public method

public Initialize ( ) : void
return void

Query() public method

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