|
NAMEtcqmgr - the command line utility of the q-gram database APIDESCRIPTIONThe command `tcqmgr' is a utility for test and debugging of the q-gram database API and its applications. `path' specifies the path of a database directory. `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.tcqmgr create [-tl] [-td|-tb|-tt] path [etnum] Create a database fie.
tcqmgr inform [-nl|-nb] path Print miscellaneous information to the standard
output.
tcqmgr put [-nl|-nb] [-rc] [-ra] [-rs] path id text Store a record.
tcqmgr out [-nl|-nb] [-rc] [-ra] [-rs] path id text Remove a record.
tcqmgr search [-nl|-nb] [-rc] [-ra] [-rs] [-eu|-ed] [-sp|-ss|-sf] [-max num] [-ph] path [word...] Search for records.
tcqmgr optimize [-nl|-nb] path Optimize a database file.
tcqmgr importtsv [-ic num] [-nl|-nb] [-rc] [-ra] [-rs] path [file] Store records of TSV in each line of a file.
tcqmgr normalize [-rc] [-ra] [-rs] text Normalize a text.
tcqmgr version Print the version information of Tokyo Dystopia.
Options feature the following. -tl : enable the option `QDBTLARGE'.
-td : enable the option `QDBTDEFLATE'. -tb : enable the option `QDBTBZIP'. -tt : enable the option `QDBTTCBS'. -nl : enable the option `QDBNOLCK'. -nb : enable the option `QDBLCKNB'. -rc : do not normalize character cases. -ra : do not normalize characters with accent marks. -rs : do not normalize white-space characters. -eu : use the union expression. -ed : use the difference expression. -sp : use the prefix matching mode. -ss : use the suffix matching mode. -sf : use the full matching mode. -max num : specify the maximum number of the output. -ph : print hints also. -ic num : specify the capacity size of the token cache. This command returns 0 on success, another on failure. SEE ALSOtcqtest(1), tcqdb(3)
Visit the GSP FreeBSD Man Page Interface. |