ODIDX(1)
π ODIDX(1) β the indexer bestie π
Quick Database Manager energy, but make it a whole moment. This is odidx, the little command that goes through your files and indexes them so your search can actually eat. β¨
πΈ NAME πΈ
odidx β indexer of document files. She indexes. She's the indexer. That's the whole job description and honestly? Iconic. π
π SYNOPSIS π
odidx register [-l file] [-wmax num] [-tsuf sufs] [-hsuf sufs] name[dir]
odidx relate name
odidx purge name
Three moods, three modes. Pick your fighter. π
π¦ DESCRIPTION π¦
Okay so this manual page documents, briefly, the odidx commands. Brief but thorough, which is a vibe.
The command odidx is a utility for indexing files on the local file system. It's lowkey perfect for a full-text search system of a Web site. π
Here's the tea on what's supported:
- File formats: plain text and HTML, that's it, that's the list.
- Character encodings: US-ASCII and ISO-8859-1.
- The URI of each document is specified with the path of its file. Path is the URI, no cap.
- Every document gets two attributes:
titleanddate. She comes with accessories. π - When a document is already existing in the database, it is registered if its last modification time is newer, or it is ignored. So if you touched it, she notices. If you didn't, she's not interested. Main character boundaries. π
- Modification times are stored in the sub database
_mtimein the main database directory. - Score information are stored in the sub database
_scorein the main database directory.
This command is used in the above format (see the synopsis, bestie, it's right there β¬οΈ).
name specifies a database name. dir specifies a directory name. Simple as. π
β¨ OPTIONS β¨
A summary of options is included below. For a complete description, see the file:///usr/share/doc/qdbm-doc/spex.html#odeumcli. Yes, go read the docs, she's thorough and she deserves it. π
-lfile β read a file and get list of paths of files to register. If-is specified, the standard input is read. Stdin said "I volunteer as tribute." π-wmaxnum β specify the max number of words to be stored in the document database. Cap it, queen. π-tsufsufs β specify suffixes of plain text files in comma separated format. The default is-tsuf .txt,.text.-hsufsufs β specify suffixes of HTML files in comma separated format. The default is-hsuf .html,.htm.
π«Ά Quick reminder bestie: those suffixes are comma separated. Commas. Not spaces. She will not read your mind.
π₯ EXAMPLES π₯
For example, to register files which are under /home/mikio and whose suffix are .txt, .c, or .h, perform the following command.
odidx register -tsuf ".txt,.c,.h" -hsuf "" casket /home/mikio
Notice the -hsuf "" β that's her saying "no HTML today, we're doing a text-only era." π
Thus, to retrieve documents which include unix and posix and show the top 8 terms, perform the following command.
odmgr search -max 8 -h casket "unix posix"
She ate that. Top 8 only, we're not doing a whole dissertation. β¨
π SEE ALSO π
The whole friend group. Go say hi. π«Ά
π AUTHOR π
QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>. Legend behavior, fr fr.
This manual page was written by Fumitoshi UKAI <ukai@debian.or.jp>, for the Debian project (but may be used by others). Generous queen, sharing the manual with everyone. π
Man Page Β· 2005-05-23 Β· ODIDX(1)
That's the whole page bestie, dated 2005-05-23, living in the Man Page section, filed under ODIDX(1) and shipping as part of Quick Database Manager. Go index something. Slay. πβ¨π
π¦ where this page comes from
- debian bookworm: qdbm-util 1.8.78-12+b1 Β· LGPL-2.1-or-later
- debian trixie: qdbm-util 1.8.78-13+b3 Β· LGPL-2.1-or-later
- ubuntu jammy: qdbm-util 1.8.78-11build3 Β· LGPL-2.1-or-later
- ubuntu noble: qdbm-util 1.8.78-12.1build2 Β· LGPL-2.1-or-later
- ubuntu questing: qdbm-util 1.8.78-13build2
- ubuntu resolute: qdbm-util 1.8.78-15 Β· LGPL-2.1-or-later
- ubuntu stonking: qdbm-util 1.8.78-16build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms