1opentrep-indexer(1)                OpenTREP                opentrep-indexer(1)
2
3
4

NAME

6       opentrep-indexerCommand-line utility to Xapian-index a travel-related
7       database text file
8

SYNOPSIS

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

DESCRIPTION

16       opentrep-indexer is a small program to Xapian-index the key-words
17       appearing in the given input file.
18
19       opentrep-indexer accepts the following options:
20
21       --prefix
22        Show the Opentrep installation prefix.
23
24       -v, --version
25        Print the currently installed version of Opentrep on the standard
26       output.
27
28       -h, --help
29        Produce that message and show usage.
30
31       -p, --porfile <POR-file-path>
32        Path (directory and file name) of the file of POR (points of
33       reference). Usually, the file is optd_por_public.csv, for which the
34       latest version may be found in the OpenTravelData project on GitHub:
35       https://github.com/opentraveldata/opentraveldata/tree/master/opentraveldata
36
37       -d, --xapiandb <Xapian-travel-database-path>
38        Path (directory) to the Xapian travel database. The indexer creates,
39       or overwrites it when it already exists, the Xapian database. It
40       materialises as a collection of data files within a directory usually
41       named 'traveldb'.
42
43       -t, --sqldbtype <SQL-database-type>
44        SQL database type, e.g., nosql (no SQL database), sqlite, mysql
45
46       -s, --sqldbconx <SQL-database-connection-string>
47        SQL database connection string, e.g., ~/tmp/opentrep/sqlite_travel.db
48       (for SQLite3), 'db=trep_trep user=trep password=trep' (for MySQL)
49
50       -l, --log <path-to-output-log-file>
51        Path (absolute or relative) of the output log file.
52
53       See the output of the `opentrep-indexer --help' command for default
54       options.
55

SEE ALSO

57       opentrep-dbmgr(1), opentrep-searcher(1), opentrep-config(1), opentrep-
58       library(3)
59

SUPPORT

61       Please report any bugs to http://github.com/trep/opentrep/issues
62
64       Copyright © 2009-2019 Denis Arnaud
65
66       See the COPYING file for more information on the (LGPLv2+) license, or
67       directly on Internet:
68        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
69
70
71
72Version 0.07.10                 Sun Nov 14 2021            opentrep-indexer(1)
Impressum