Perform an IDBFunction against the index.
Syntax | |
[VBScript]
sub ISYSIndexer.IDBFunctionEx(_
string Command, _
object lpNotify, _
string NotifyFunction_
)
[C#]
void IISYSIndexer.IDBFunctionEx(
string Command,
object lpNotify,
string NotifyFunction
);
[ColdFusion/Java]
void IISYSIndexer.IDBFunctionEx(
java.lang.String Command,
object lpNotify,
java.lang.String NotifyFunction
) throws ComException; | Parameters | | Command | IDBFunction command to execute | lpNotify | The object that implements the function specified in NotifyFunction | NotifyFunction | The name of a function which is to be called back with events |
| Examples | | [VBScript]
<%
class IDBFunctionNotify
sub Notify(message, type, p1, p2, p3)
Response.Write message
end sub
end class
set notifer = new IDBFunctionNotify
set indexer = Application("ISYSIndex").Indexer
indexer.IDBFunctionEx "REINDEX", notifer, "Notify"
%>
| Remarks | | The function you must implement needs to take the following form:
sub NotifyFunction(message, type, param1, param2, param3)
Options
| message | Contains text returned from the ISYS engine which can be displayed to the user | | type |
Indicates the type of message. Main be one of the following values:
M | Streaming Message. The message contains a string that is to be displayed to the user. | S | Establish Titles. The message contains a title which serves as a title to the streaming messages. | R | Rewrite Streaming Message. The message should replace the last streaming message displayed. | B | Scan Progress. Indicates progress of the scanning process. Param1 indicates the progress parameter, Param2 indicates its new value. | C | Deindexing. Indicates the de-indexing phase has commenced. | D | Deletion Progress. Indicates progress of the deletion phase. | E | Reading. Indicates the reading phase has commenced. | F | Reading Progress. Indicates progress of reading documents. Param1 contains the number of documents index, Param2 contains words index, Param3 contains documents remaining. | H | Same as F | F | Updating. Indicates the updating phase has commenced. |
|
| See Also | |
|
|