dystmgr(1)
| DYSTMGR(1) | Tokyo Dystopia | DYSTMGR(1) |
NAME
dystmgr - the command line utility of the core API
DESCRIPTION
The command `dystmgr' is a utility for test and debugging of the core API and its applications. `path' specifies the path of a database directory. `ernum' specifies the expected number of records. `etnum' specifies the expected number of tokens. `id' specifies the ID number of a record. `text' specifies the text of a record. `word' specifies a search word. `file' specifies the input file.
dystmgr create [-tl] [-td|-tb|-tt] path [ernum [etnum]]
dystmgr inform [-nl|-nb] path
dystmgr put [-nl|-nb] path id text
dystmgr out [-nl|-nb] path id
dystmgr get [-nl|-nb] path id
dystmgr search [-nl|-nb] [-eu|-ei|-ed] [-sp|-ss|-sf|-st|-stp|-sts] [-max num] [-ph] [-pv] path [word...]
dystmgr list [-nl|-nb] [-max num] [-pv] path
dystmgr optimize [-nl|-nb] path
dystmgr importtsv [-ic num] [-nl|-nb] path [file]
dystmgr version
Options feature the following.
-td : enable the option `IDBTDEFLATE'.
-tb : enable the option `IDBTBZIP'.
-tt : enable the option `IDBTTCBS'.
-nl : enable the option `IDBNOLCK'.
-nb : enable the option `IDBLCKNB'.
-eu : use the union expression.
-ei : use the intersection expression.
-ed : use the difference expression.
-sp : use the prefix matching mode.
-ss : use the suffix matching mode.
-sf : use the full matching mode.
-st : use the token matching mode.
-stp : use the token prefix matching mode.
-sts : use the token suffix matching mode.
-max num : specify the maximum number of the output.
-ph : print hints also.
-pv : print texts of records also.
-ic num : specify the capacity size of the token cache.
This command returns 0 on success, another on failure.
TCQTEST
The command `tcqtest' is a utility for facility test and performance test of the q-gram database API. This command is used in the following format. `path' specifies the path of a database directory. `rnum' specifies the number of iterations.
tcqtest write [-tl] [-td|-tb|-tt] [-et num] [-ic num] [-nl|-nb] [-la num] [-en] [-rc] [-ra] [-rs] path rnum
tcqtest read [-nl|-nb] [-la num] [-lm num] [-en] [-rc] [-ra] [-rs] [-sp|-ss|-sf] path rnum
tcqtest wicked [-tl] [-td|-tb|-tt] [-et num] [-ic num] [-nl|-nb] [-la num] [-en] [-rc] [-ra] [-rs] path rnum
Options feature the following.
-td : enable the option `QDBTDEFLATE'.
-tb : enable the option `QDBTBZIP'.
-tt : enable the option `QDBTTCBS'.
-et num : specify the expected number of tokens.
-ic num : specify the capacity size of the token cache.
-nl : enable the option `QDBNOLCK'.
-nb : enable the option `QDBLCKNB'.
-la num : specify the average length of each records.
-lm num : specify the minimum length of each records.
-en : use English-like text.
-rc : do not normalize character cases.
-ra : do not normalize characters with accent marks.
-rs : do not normalize white-space characters.
-sp : use the prefix matching mode.
-ss : use the suffix matching mode.
-sf : use the full matching mode.
This command returns 0 on success, another on failure.
SEE ALSO
| 2009-01-07 | Man Page |
