opentrep-indexer - Man Page

Command-line utility to Xapian-index a travel-related database text file


opentrep-indexer [--prefix] [-v|--version] [-h|--help] [-b|--builtin] [-p|--porfile <POR-file-path>] [-d|--xapiandb <Xapian-travel-database-path>] [-t|--sqldbtype <SQL-database-type>] [-s|--sqldbconx <SQL-database-connection-string>] [-l|--log <path-to-output-log-file>]


opentrep-indexer is a small program to Xapian-index the key-words appearing in the given input file.

opentrep-indexer accepts the following options:

Show the Opentrep installation prefix.

-v, --version
Print the currently installed version of Opentrep on the standard output.

-h, --help
Produce that message and show usage.

-p, --porfile <POR-file-path>
Path (directory and file name) of the file of POR (points of reference). Usually, the file is optd_por_public.csv, for which the latest version may be found in the OpenTravelData project on GitHub:

-d, --xapiandb <Xapian-travel-database-path>
Path (directory) to the Xapian travel database. The indexer creates, or overwrites it when it already exists, the Xapian database. It materialises as a collection of data files within a directory usually named 'traveldb'.

-t, --sqldbtype <SQL-database-type>
SQL database type, e.g., nosql (no SQL database), sqlite, mysql

-s, --sqldbconx <SQL-database-connection-string>
SQL database connection string, e.g., ~/tmp/opentrep/sqlite_travel.db (for SQLite3), 'db=trep_trep user=trep password=trep' (for MySQL)

-l, --log <path-to-output-log-file>
Path (absolute or relative) of the output log file.

See the output of the `opentrep-indexer --help' command for default options.

See Also

opentrep-dbmgr(1), opentrep-searcher(1), opentrep-config(1), opentrep-library(3)


Please report any bugs to

Referenced By

opentrep-config(1), opentrep-dbmgr(1), opentrep-library(3), opentrep-searcher(1), pyopentrep(1).

Version 0.07.15 OpenTREP