Parent: [efcb4e] (diff)

Download this file

xadump.1    171 lines (163 with data), 2.0 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
.TH XADUMP 1 "18 November 2017"
.SH NAME
xadump \- low level access to a Recoll Xapian index.
.SH SYNOPSIS
.B xadump
[
.B \-d
<dbdir>
]
[
.B \-e
<outputencoding>
]
.B \-i
<docid>
.B \-D
.br
.B xadump
[
.B \-d
<dbdir>
]
[
.B \-e
<outputencoding>
]
.B \-i
<docid>
.B \-X
.br
.B xadump
[
.B \-d
<dbdir>
]
[
.B \-e
<outputencoding>
]
.B \-i
<docid>
[
.B \-x
]
.B \-T
.br
.B xadump
[
.B \-d
<dbdir>
]
[
.B \-e
<outputencoding>
]
.B \-i
<docid>
[
.B \-x
]
.B \-r
.br
.B xadump
[
.B \-d
<dbdir>
]
[
.B \-e
<outputencoding>
]
.B \-t
<term>
.B \-E
.br
.B xadump
[
.B \-d
<dbdir>
]
[
.B \-e
<outputencoding>
]
.B \-t
<term>
.B \-F
.br
.B xadump
[
.B \-d
<dbdir>
]
[
.B \-e
<outputencoding>
]
.B \-t
<term>
.B \-P
.br
.B xadump
.B \-T
[
.B \-f
]
[
.B \-n
]
[
.B \-l
]
.br
.B xadump
.B \-q
term [term ...]
.SH DESCRIPTION
The
.B xadump
command is a low-level access and diagnostic tool for a Xapian index as
organized by the Recoll indexer. The index directory to be used is
specified with option
.B \-d.
.PP
Options -D, -X, -T and -r take a single
.B docid
argument specified with option
.B \-i.
.B \-D
displays the document data record.
.B \-X
deletes all index data for the document.
.B \-T
prints the term list for the document. Without a docid argument, this
option will list the whole index term list.
.B \-f
can be set to precede each term with its occurrence count (only if no
docid is specified).
.B \-n
can be set to omit the enclosing brackets.
.B \-l
can be set to skip prefixed terms.
.B \-r
prints the document text as reconstructed from index data.
When option
.B \-x
is set, terms are printed with each character separated by a space, which
can be useful to check some encoding issues.
.PP
Options -E, -F and -P all need a term argument, specified with
.B \-t
<term>.
.B \-E
performs a term existence test.
.B \-F
retrieves the term frequency for the given term.
.B \-P
displays the postings for the given term.
.PP
With option
.B \-q,
xadump performs a simple AND query on the index, using the given term
arguments.