Index

DXDatastoreAdminTS

Purpose:

This is the class that is used to represent a datastore administrator in Text Search.

Methods:

getDatastore
LPDISPATCH getDatastore();

Gets the datastore. The returned LPDISPATCH pointer contains a DXDatastoreTS object.

setDatastore
setDatastore(LPDISPATCH ds);

Sets the datastore. The input parameter LPDISPATCH pointer contains a DXDatastoreTS object.

startUpdateIndex
startUpdateIndex(LPCTSTR indexName);

Starts the indexing process.

clearIndex
clearIndex(LPCTSTR indexName);

Clears an index. You must call this method before doing a delete index for consistency.

getIndexFunctionStatus
LPDISPATCH getIndexFunctionStatus(LPCTSTR indexName,
                                  long funcId);

Get index function status. The returned LPDISPATCH pointer contains a DXIndexFuncStatusTS object.

setIndexFunctionStatus
setIndexFunctionStatus(LPCTSTR indexName,
                       long funcId,
                       long actionId);

Set index function status.

reorgIndex
reorgIndex(LPCTSTR indexName);

Reorganize an index.

clearScheduledDocuments
clearScheduledDocuments(LPCTSTR indexName);

Clear schedule document queue.

getIndexingRules
LPDISPATCH getIndexingRules(LPCTSTR indexName);

Gets the indexing rules. The returned LPDISPATCH pointer contains a DXIndexingRulesTS object.

setIndexingRules
setIndexingRules(LPDISPATCH indexRules);

Sets the indexing rules. The input parameter LPDISPATCH pointer contains a DXIndexingRulesTS object.

getIndexingDocMessages
LPDISPATCH getIndexingDocMessages(LPCTSTR indexName);

Get indexing document messages. The returned LPDISPATCH pointer contains a DXSequentialCollectionDL object.

deleteIndexingDocMessages
deleteIndexingDocMessages(LPCTSTR indexName);

Delete indexing document messages.

createDocModel
createDocModel(LPCTSTR indexName,
               LPDISPATCH docModel);

Create document model. The input parameter LPDISPATCH pointer contains a DXDocModelTS object.

deleteDocModel
deleteDocModel(LPCTSTR indexName,
               long ccsid, LPCTSTR docModelName);

Delete a document model.

getDocModel
LPDISPATCH getDocModel(LPCTSTR indexName,
                       long ccsid, LPCTSTR docModelName);

Get a document model. The returned LPDISPATCH pointer contains a DXDocModelTS object.

listDocModels
LPDISPATCH listDocModels(LPCTSTR indexName);

List document models for an index. The returned LPDISPATCH pointer contains a DXSequentialCollectionDL object.

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.