Method | Description | |
---|---|---|
ClearIndex ( object state ) : void |
Invokes the ClearIndex delegate.
|
|
DeleteDataForDocument ( IDocument document, object state ) : void |
Invokes the DeleteDataForDocument delegate.
|
|
GetCount ( IndexElementType element ) : int |
Invokes the GetCount delegate.
|
|
GetSize ( ) : long |
Defines a delegate for a method that gets the size of the approximate index in bytes.
|
|
GetWordFetcher ( ) : IWordFetcher |
Invokes the GetWordFetcher delegate.
|
|
IndexConnector ( GetWordFetcher getWordFetcher, GetSize getSize, GetCount getCount, ClearIndex clearIndex, DeleteDataForDocument deleteData, SaveDataForDocument saveData, TryFindWord tryFindWord ) : System |
Initializes a new instance of the T:IndexConnector class.
|
|
SaveDataForDocument ( IDocument document, WordInfo content, WordInfo title, WordInfo keywords, object state ) : int |
Invokes the SaveDataForDocument delegate.
|
public ClearIndex ( object state ) : void | ||
state | object | A state object passed from the index. |
return | void |
public DeleteDataForDocument ( IDocument document, object state ) : void | ||
document | IDocument | The document. |
state | object | A state object passed from the index. |
return | void |
public GetCount ( IndexElementType element ) : int | ||
element | IndexElementType | The element type. |
return | int |
public IndexConnector ( GetWordFetcher getWordFetcher, GetSize getSize, GetCount getCount, ClearIndex clearIndex, DeleteDataForDocument deleteData, SaveDataForDocument saveData, TryFindWord tryFindWord ) : System | ||
getWordFetcher | GetWordFetcher | The GetWordFetcher delegate. |
getSize | GetSize | The GetSize delegate. |
getCount | GetCount | The GetCount delegate. |
clearIndex | ClearIndex | The ClearIndex delegate. |
deleteData | DeleteDataForDocument | The DeleteDataForDocument delegate. |
saveData | SaveDataForDocument | The SaveData delegate. |
tryFindWord | TryFindWord | The TryFindWord delegate. |
return | System |
public SaveDataForDocument ( IDocument document, WordInfo content, WordInfo title, WordInfo keywords, object state ) : int | ||
document | IDocument | The document. |
content | WordInfo | The content words. |
title | WordInfo | The title words. |
keywords | WordInfo | The keywords. |
state | object | A state object passed from the index. |
return | int |