DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | List of all members
Deveel.Data.Text.ISearchEngine Interface Reference

Public Member Functions

void CreateIndex (TableName tableName, DataIndexInfo indexInfo)
 Creates an index for the given table having the given layout. More...
 
void DropIndex (TableName tableName, string indexName)
 Drops the index for the given table. More...
 
void IndexRow (TableName tableName, string indexName, SearchTextRow row)
 
void RemoveRow (TableName tableName, string indexName, int rowIndex)
 
void UpdateRow (TableName tableName, string indexName, SearchTextRow row)
 
SearchResult Search (TableName tableName, string indexName, string query)
 

Detailed Description

Definition at line 21 of file ISearchEngine.cs.

Member Function Documentation

void Deveel.Data.Text.ISearchEngine.CreateIndex ( TableName  tableName,
DataIndexInfo  indexInfo 
)

Creates an index for the given table having the given layout.

Parameters
tableNameThe fully qualified name of the table to create the search index for.
indexInfoThe object describing the index to create.
Exceptions
ArgumentNullExceptionIf the given tableName table name is null.
ArgumentExceptionIf an index for the given table with the given name already exists in the system or if the given indexInfo is not a full-text index.
InvalidOperationExceptionIf an error occurred while creating the search index.
void Deveel.Data.Text.ISearchEngine.DropIndex ( TableName  tableName,
string  indexName 
)

Drops the index for the given table.

Parameters
tableNameThe fully qualified name of the table to drop the search index for.
indexNameThe name of the index to drop.
Exceptions
ArgumentNullExceptionIf the given tableName table name is null.
ArgumentExceptionIf an index for the given table does not exists in the system.
InvalidOperationExceptionIf an error occurred while dropping the search index.
void Deveel.Data.Text.ISearchEngine.IndexRow ( TableName  tableName,
string  indexName,
SearchTextRow  row 
)

Parameters
tableName
indexName
row
void Deveel.Data.Text.ISearchEngine.RemoveRow ( TableName  tableName,
string  indexName,
int  rowIndex 
)
SearchResult Deveel.Data.Text.ISearchEngine.Search ( TableName  tableName,
string  indexName,
string  query 
)
void Deveel.Data.Text.ISearchEngine.UpdateRow ( TableName  tableName,
string  indexName,
SearchTextRow  row 
)

The documentation for this interface was generated from the following file: