The DXSearchEngineInfoDL class represents the search manager
information. This class also provides the information from the
FRN$SEARCH index class used by all Content Manager search programs.
- setSearchEngine
-
void setSearchEngine(String aSearchEngine);
Sets the search engine name. The valid values are:
- SM
- to be indexed by the Text Search engine
- QBIC
- to be indexed by the Image Search engine
- getSearchEngine
-
String getSearchEngine();
Gets the search engine name.
- setSearchIndex
-
void setSearchIndex(String aSearchIndex);
Sets the search index. Different search engines combine values
differently:
- Text search
- the search index of text search is the SEARCH SERVICE
NAME-INDEX. For example, if you have a search service name called
TM and a constituent index name called TMINDEX, then the
search index is called TM-TMINDEX
- Image search
- the search index of image search is the DATABASE-CATALOG-IMAGE SEARCH
SERVER. Make sure the catalog has image search features defined
before you attempt to use this search engine. If you have an image
search server name called QBICSRV, a database name called
SAMPLEDB, and a catalog name called SAMPLECAT, then the
corresponding search index would be named
SAMPLEDB-SAMPLECAT-QBICSRV
- getSearchIndex
-
String getSearchIndex();
Gets the search index.
- setSearchInfo
-
void setSearchInfo(String aSearchInfo);
Sets the search information value. This value contains the
three-character national language code (NLS) of the text part indexed by the
search engine. For example, the US English language uses the NLS code
"ENU."
- getSearchInfo
-
String getSearchInfo();
Gets the search information value. This value contains the
three-character national language code (NLS) of the text part indexed by the
search engine.
- getSearchState
-
short getSearchState();
Gets the search indexing state. The valid values are:
- 256
- to be updated; a call to the invokeSearchEngine(searchEngine,
searchIndex) datastore method will change this value
- 512
- to be deleted; a call to the invokeSearchEngine(searchEngine,
searchIndex) datastore method will change this value
- 769
- queued to be updated; the object is in the queue and is ready to be
indexed by the search machine
- 770
- queued to be deleted; the object is in the queue and is ready to be
deleted by the search machine's indexing action
- 1024
- indexed; the search machine has indexed the object
- getSearchClassId
-
short getSearchClassId();
Gets the index class ID of the item in the FRN$SEARCH table.
- getSearchTimestamp
-
String getSearchTimestamp();
Gets the search indexing timestamp.