source: general/genlib/xapian.xml@ 48771ae

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 48771ae was 48771ae, checked in by David Bryant <davidbryant@…>, 17 months ago

Unless it's a directory name, or something like that, "test suite"
should be spelled as two words.

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