![]() |
![]()
| ![]() |
![]()
NAMEDtSearchRetrieve — Return clear text of documents from DtSearch databases SYNOPSIS#include &<Dt/Search.h> int DtSearchRetrieve( char *dbname, DB_ADDR dba, char **cleartext, long *clearlen, int *fzkeyi); DESCRIPTIONDtSearchRetrieve retrieves the uncompressed document text of a specified DtSearch document listed in the DtSrResult list from a previous call to DtSearchQuery. It will be successful only in an AusText type database where the documents are stored directly in a database repository. ARGUMENTS
RETURN VALUEDtSearchRetrieve returns DtSrOK as well as the cleartext string, when document retrieval is completely successful. It returns DtSrNOTAVAIL if the document text is not available from the database for whatever reason. Any other return code signifies failure and user messages on the MessageList explain why. Any API function can also return DtSrREINIT and the return codes for fatal engine errors at any time. SEE ALSOdtsrcreate(1), DtSrAPI(3), DtSearchQuery(3), DtSearch(5)
|