![]() |
![]()
| ![]() |
![]()
NAMEdtsrkdump — Produce reports about DtSearch database keys SYNOPSISdtsrkdump-o | -w | -ow [-v] [-tthreshold | -ppercent ] dbname DESCRIPTIONdtsrkdump is a convenience utility that traverses the word/stem, document, or both b-trees for the specified DtSearch database and prints a summary report about the keys to stdout. The -v option additionally prints a detailed key by key report. dtsrkdump can be used to confirm integrity of the b-trees, and to count and report currently available documents and keytypes. OPTIONSThe following options are available: Note:
If an option takes a value, the value must be directly appended to the option name without white space.
OPERANDThe dbname argument specifies the name of the database to be traversed. A path prefix is optional. The database name is the 1 to 8 ASCII character string used at creation time ENVIRONMENT VARIABLESNone. RESOURCESNone. ACTIONS/MESSAGESNone. RETURN VALUESThe return values are as follows:
FILESdtsrkdump opens all database files for dbname. EXAMPLESOutput a summary report on the objects (documents) in the local database named mydb. The summary report will print the document count for each keytype in the database. dtsrkdump -o mydb
Output a summary report on the words and stems in the local database named mydb. The summary report will print the count of each index term in the database from the three word b-trees. dtsrkdump -w mydb
Output every document key in database jpndb in directory /usr/local/dtsearch, plus a summary report of the document count for each keytype in the database, plus every word or stem that occurs in 20 or more documents, plus a summary report of counts of each term for the word b-trees. dtsrkdump -ow -v -t20 /usr/local/dtsearch/jpndb
Output the same as the previous example except that the detail word and stem will only contain terms that occur in 80.5% or more of the database. dtsrkdump -ow -v -p80.5 /usr/local/dtsearch/jpndb
SEE ALSOdtsrdbfiles(4), DtSearch(5)
|