Property | Type | Description | |
---|---|---|---|
stopWords | string[] |
Method | Description | |
---|---|---|
Clear ( object state ) : void |
Completely clears the index (stop words are not affected).
|
|
RemoveDocument ( IDocument document, object state ) : void |
Removes a document from the index.
|
|
Search ( |
Performs a search in the index.
|
|
SqlIndex ( IIndexConnector connector ) : System |
Initializes a new instance of the T:SqlIndex class.
|
|
StoreDocument ( IDocument document, string keywords, string content, object state ) : int |
Stores a document in the index. Indexing the content of the document is O(n), where n is the total number of words in the document. |
public Clear ( object state ) : void | ||
state | object | A state object that is passed to the IndexStorer SaveDate/DeleteData function. |
return | void |
public RemoveDocument ( IDocument document, object state ) : void | ||
document | IDocument | The document to remove. |
state | object | A state object that is passed to the IndexStorer SaveDate/DeleteData function. |
return | void |
public Search ( |
||
parameters | The search parameters. | |
return | SearchResultCollection |
public SqlIndex ( IIndexConnector connector ) : System | ||
connector | IIndexConnector | The connection object. |
return | System |
public StoreDocument ( IDocument document, string keywords, string content, object state ) : int | ||
document | IDocument | The document. |
keywords | string | The document keywords, if any, an empty array or |
content | string | The content of the document. |
state | object | A state object that is passed to the IndexStorer SaveDate/DeleteData function. |
return | int |