1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY xapian-download-http
|
---|
8 | "http://oligarchy.co.uk/xapian/&xapian-version;/xapian-core-&xapian-version;.tar.xz">
|
---|
9 | <!ENTITY xapian-download-ftp " ">
|
---|
10 | <!ENTITY xapian-md5sum "2ebf4b85896ecc7e1a9c4f91226d14b4">
|
---|
11 | <!ENTITY xapian-size "2.9 MB">
|
---|
12 | <!ENTITY xapian-buildsize "232 MB (add 187 MB for tests)">
|
---|
13 | <!ENTITY xapian-time "0.6 SBU (using parallelism=4; add 34 SBU for tests)">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="xapian" xreflabel="xapian-&xapian-version;">
|
---|
17 | <?dbhtml filename="xapian.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>Xapian-&xapian-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="xapian">
|
---|
27 | <primary sortas="a-xapian">xapian</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to xapian</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | Xapian is an open source search engine library.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs10_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&xapian-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&xapian-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &xapian-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &xapian-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &xapian-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &xapian-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">Xapian Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
76 | <para role="optional">
|
---|
77 | <xref linkend="valgrind"/> (for tests)
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <para condition="html" role="usernotes">User Notes:
|
---|
81 | <ulink url="&blfs-wiki;/xapian"/></para>
|
---|
82 |
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | <sect2 role="installation">
|
---|
86 | <title>Installation of Xapian</title>
|
---|
87 | <!-- Interesting footnote - SSE support is only enabled on i686.
|
---|
88 | There seems to be some trickery involved in that. It's not essential
|
---|
89 | to operation on x86_64 though, so look into it at the next version of
|
---|
90 | xapian. -->
|
---|
91 |
|
---|
92 | <para>
|
---|
93 | Install <application>Xapian</application> by
|
---|
94 | running the following commands:
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | <screen><userinput>./configure --prefix=/usr \
|
---|
98 | --disable-static \
|
---|
99 | --docdir=/usr/share/doc/xapian-core-&xapian-version; &&
|
---|
100 | make</userinput></screen>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | <!--
|
---|
104 | The regression tests are not recommended. On a fast (3.2 GHz i7)
|
---|
105 | system they took over five hours and two of four tests (the valgrind
|
---|
106 | tests) failed. To run the test suite anyway,
|
---|
107 | issue: <command>make check</command>.
|
---|
108 | The tests with 1.4.15 took under an hour, at 34 SBU total. Marking
|
---|
109 | the testsuite as usable again. I had four passes and 0 failures:
|
---|
110 | PASS: apitest
|
---|
111 | PASS: internaltest
|
---|
112 | PASS: stemtest
|
---|
113 | PASS: unittest
|
---|
114 | I did have Valgrind installed too. -renodr -->
|
---|
115 | To run the test suite, issue: <command>make check</command>.
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
123 |
|
---|
124 | </sect2>
|
---|
125 |
|
---|
126 | <sect2 role="content">
|
---|
127 | <title>Contents</title>
|
---|
128 |
|
---|
129 | <segmentedlist>
|
---|
130 | <segtitle>Installed Programs</segtitle>
|
---|
131 | <segtitle>Installed Libraries</segtitle>
|
---|
132 | <segtitle>Installed Directories</segtitle>
|
---|
133 |
|
---|
134 | <seglistitem>
|
---|
135 | <seg>
|
---|
136 | copydatabase, quest, simpleexpand, simpleindex, simplesearch,
|
---|
137 | xapian-check, xapian-compact, xapian-config,
|
---|
138 | xapian-delve, xapian-metadata, xapian-pos, xapian-progsrv,
|
---|
139 | xapian-replicate, xapian-replicate-server and xapian-tcpsrv
|
---|
140 | </seg>
|
---|
141 | <seg>
|
---|
142 | libxapian.so
|
---|
143 | </seg>
|
---|
144 | <seg>
|
---|
145 | /usr/include/xapian,
|
---|
146 | /usr/lib/cmake/xapian,
|
---|
147 | /usr/share/doc/xapian-core-&xapian-version;, and
|
---|
148 | /usr/share/xapian-core
|
---|
149 | </seg>
|
---|
150 | </seglistitem>
|
---|
151 | </segmentedlist>
|
---|
152 |
|
---|
153 | <variablelist>
|
---|
154 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
155 | <?dbfo list-presentation="list"?>
|
---|
156 | <?dbhtml list-presentation="table"?>
|
---|
157 |
|
---|
158 | <varlistentry id="copydatabase">
|
---|
159 | <term><command>copydatabase</command></term>
|
---|
160 | <listitem>
|
---|
161 | <para>
|
---|
162 | perform a document-by-document copy of one or more
|
---|
163 | <application>Xapian</application> databases.
|
---|
164 | </para>
|
---|
165 | <indexterm zone="xapian copydatabase">
|
---|
166 | <primary sortas="b-copydatabase">copydatabase</primary>
|
---|
167 | </indexterm>
|
---|
168 | </listitem>
|
---|
169 | </varlistentry>
|
---|
170 |
|
---|
171 | <varlistentry id="quest">
|
---|
172 | <term><command>quest</command></term>
|
---|
173 | <listitem>
|
---|
174 | <para>
|
---|
175 | is a search command line tool.
|
---|
176 | </para>
|
---|
177 | <indexterm zone="xapian quest">
|
---|
178 | <primary sortas="b-quest">quest</primary>
|
---|
179 | </indexterm>
|
---|
180 | </listitem>
|
---|
181 | </varlistentry>
|
---|
182 |
|
---|
183 | <varlistentry id="simpleexpand">
|
---|
184 | <term><command>simpleexpand</command></term>
|
---|
185 | <listitem>
|
---|
186 | <para>
|
---|
187 | is a simple example program demonstrating query expansion.
|
---|
188 | </para>
|
---|
189 | <indexterm zone="xapian simpleexpand">
|
---|
190 | <primary sortas="b-simpleexpand">simpleexpand</primary>
|
---|
191 | </indexterm>
|
---|
192 | </listitem>
|
---|
193 | </varlistentry>
|
---|
194 |
|
---|
195 | <varlistentry id="simpleindex">
|
---|
196 | <term><command>simpleindex</command></term>
|
---|
197 | <listitem>
|
---|
198 | <para>
|
---|
199 | index each paragraph of a text file as a
|
---|
200 | <application>Xapian</application> document.
|
---|
201 | </para>
|
---|
202 | <indexterm zone="xapian simpleindex">
|
---|
203 | <primary sortas="b-simpleindex">simpleindex</primary>
|
---|
204 | </indexterm>
|
---|
205 | </listitem>
|
---|
206 | </varlistentry>
|
---|
207 |
|
---|
208 | <varlistentry id="simplesearch">
|
---|
209 | <term><command>simplesearch</command></term>
|
---|
210 | <listitem>
|
---|
211 | <para>
|
---|
212 | is a simple command line search utility.
|
---|
213 | </para>
|
---|
214 | <indexterm zone="xapian simplesearch">
|
---|
215 | <primary sortas="b-simplesearch">simplesearch</primary>
|
---|
216 | </indexterm>
|
---|
217 | </listitem>
|
---|
218 | </varlistentry>
|
---|
219 |
|
---|
220 | <varlistentry id="xapian-check">
|
---|
221 | <term><command>xapian-check</command></term>
|
---|
222 | <listitem>
|
---|
223 | <para>
|
---|
224 | check the consistency of a database or table.
|
---|
225 | </para>
|
---|
226 | <indexterm zone="xapian xapian-check">
|
---|
227 | <primary sortas="b-xapian-check">xapian-check</primary>
|
---|
228 | </indexterm>
|
---|
229 | </listitem>
|
---|
230 | </varlistentry>
|
---|
231 |
|
---|
232 | <!--
|
---|
233 | <varlistentry id="xapian-chert-update">
|
---|
234 | <term><command>xapian-chert-update</command></term>
|
---|
235 | <listitem>
|
---|
236 | <para>
|
---|
237 | update a chert database to the new format keys.
|
---|
238 | </para>
|
---|
239 | <indexterm zone="xapian xapian-chert-update">
|
---|
240 | <primary sortas="b-xapian-chert-update">xapian-chert-update</primary>
|
---|
241 | </indexterm>
|
---|
242 | </listitem>
|
---|
243 | </varlistentry>
|
---|
244 | No longer installed in 1.4.15. - renodr
|
---|
245 | -->
|
---|
246 |
|
---|
247 | <varlistentry id="xapian-compact">
|
---|
248 | <term><command>xapian-compact</command></term>
|
---|
249 | <listitem>
|
---|
250 | <para>
|
---|
251 | compact a database, or merge and compact several.
|
---|
252 | </para>
|
---|
253 | <indexterm zone="xapian xapian-compact">
|
---|
254 | <primary sortas="b-xapian-compact">xapian-compact</primary>
|
---|
255 | </indexterm>
|
---|
256 | </listitem>
|
---|
257 | </varlistentry>
|
---|
258 |
|
---|
259 | <varlistentry id="xapian-config">
|
---|
260 | <term><command>xapian-config</command></term>
|
---|
261 | <listitem>
|
---|
262 | <para>
|
---|
263 | report information about the installed xapian.
|
---|
264 | </para>
|
---|
265 | <indexterm zone="xapian xapian-config">
|
---|
266 | <primary sortas="b-xapian-config">xapian-config</primary>
|
---|
267 | </indexterm>
|
---|
268 | </listitem>
|
---|
269 | </varlistentry>
|
---|
270 |
|
---|
271 | <varlistentry id="xapian-delve">
|
---|
272 | <term><command>xapian-delve</command></term>
|
---|
273 | <listitem>
|
---|
274 | <para>
|
---|
275 | inspect the contents of a <application>Xapian</application>
|
---|
276 | database.
|
---|
277 | </para>
|
---|
278 | <indexterm zone="xapian xapian-delve">
|
---|
279 | <primary sortas="b-xapian-delve">xapian-delve</primary>
|
---|
280 | </indexterm>
|
---|
281 | </listitem>
|
---|
282 | </varlistentry>
|
---|
283 |
|
---|
284 | <varlistentry id="xapian-metadata">
|
---|
285 | <term><command>xapian-metadata</command></term>
|
---|
286 | <listitem>
|
---|
287 | <para>
|
---|
288 | read and write user metadata.
|
---|
289 | </para>
|
---|
290 | <indexterm zone="xapian xapian-metadata">
|
---|
291 | <primary sortas="b-xapian-metadata">xapian-metadata</primary>
|
---|
292 | </indexterm>
|
---|
293 | </listitem>
|
---|
294 | </varlistentry>
|
---|
295 |
|
---|
296 | <varlistentry id="xapian-pos">
|
---|
297 | <term><command>xapian-pos</command></term>
|
---|
298 | <listitem>
|
---|
299 | <para>
|
---|
300 | inspect the contents of a flint table for development or debugging.
|
---|
301 | </para>
|
---|
302 | <indexterm zone="xapian xapian-pos">
|
---|
303 | <primary sortas="b-xapian-pos">xapian-pos</primary>
|
---|
304 | </indexterm>
|
---|
305 | </listitem>
|
---|
306 | </varlistentry>
|
---|
307 |
|
---|
308 | <varlistentry id="xapian-progsrv">
|
---|
309 | <term><command>xapian-progsrv</command></term>
|
---|
310 | <listitem>
|
---|
311 | <para>
|
---|
312 | remote server for use with <application>ProgClient</application>.
|
---|
313 | </para>
|
---|
314 | <indexterm zone="xapian xapian-progsrv">
|
---|
315 | <primary sortas="b-xapian-progsrv">xapian-progsrv</primary>
|
---|
316 | </indexterm>
|
---|
317 | </listitem>
|
---|
318 | </varlistentry>
|
---|
319 |
|
---|
320 | <varlistentry id="xapian-replicate">
|
---|
321 | <term><command>xapian-replicate</command></term>
|
---|
322 | <listitem>
|
---|
323 | <para>
|
---|
324 | replicate a database from a master server to a local copy.
|
---|
325 | </para>
|
---|
326 | <indexterm zone="xapian xapian-replicate">
|
---|
327 | <primary sortas="b-xapian-replicate">xapian-replicate</primary>
|
---|
328 | </indexterm>
|
---|
329 | </listitem>
|
---|
330 | </varlistentry>
|
---|
331 |
|
---|
332 | <varlistentry id="xapian-replicate-server">
|
---|
333 | <term><command>xapian-replicate-server</command></term>
|
---|
334 | <listitem>
|
---|
335 | <para>
|
---|
336 | service database replication requests from clients.
|
---|
337 | </para>
|
---|
338 | <indexterm zone="xapian xapian-replicate-server">
|
---|
339 | <primary sortas="b-xapian-replicate-server">xapian-replicate-server</primary>
|
---|
340 | </indexterm>
|
---|
341 | </listitem>
|
---|
342 | </varlistentry>
|
---|
343 |
|
---|
344 | <varlistentry id="xapian-tcpsrv">
|
---|
345 | <term><command>xapian-tcpsrv</command></term>
|
---|
346 | <listitem>
|
---|
347 | <para>
|
---|
348 | is the TCP daemon for use with <application>Xapian</application>'s
|
---|
349 | remote backend.
|
---|
350 | </para>
|
---|
351 | <indexterm zone="xapian xapian-tcpsrv">
|
---|
352 | <primary sortas="b-xapian-tcpsrv">xapian-tcpsrv</primary>
|
---|
353 | </indexterm>
|
---|
354 | </listitem>
|
---|
355 | </varlistentry>
|
---|
356 |
|
---|
357 | </variablelist>
|
---|
358 |
|
---|
359 | </sect2>
|
---|
360 |
|
---|
361 | </sect1>
|
---|