Package: apt-xapian-index
Version: 0.40
Severity: wishlist

Hello,

a useful new self-documentation feature would have plugins to provide
information about what term prefixes they generate, similarly to how
they provide information about values.

The description should have:

 - prefix (e.g. "XT");
 - queryparser prefix (e.g. "tag:");
 - a short description (e.g. "Tag from Debtags");
 - optionally, a long description on how to use it, example use cases
   and so on;
 - if useful, also whether this should be used as a boolean prefix or a
   probabilistic prefix (see [1]).

The documentation generator can then use them to:

 - autogenerate the list of terms provided by each plugin, which is now
   handwritten in the plugin description;
 - generate a /var/lib/apt-xapian-index/prefixes file, similar to
   /var/lib/apt-xapian-index/values, with a summary of all prefixes
   found in the database: this can be used by developers as well as by
   query software to automatically setup the various prefixes[1] in their
   QueryParser objects.

Ciao,

Enrico

[1] http://xapian.org/docs/apidoc/html/classXapian_1_1QueryParser.html

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt-xapian-index depends on:
ii  python                  2.6.6-3+squeeze1 interactive high-level object-orie
ii  python-apt              0.7.98.1         Python interface to libapt-pkg
ii  python-debian           0.1.18           Python modules to work with Debian
ii  python-support          1.0.10           automated rebuilding support for P
ii  python-xapian           1.2.3-3          Xapian search engine interface for

apt-xapian-index recommends no packages.

Versions of packages apt-xapian-index suggests:
ii  app-install-data              2010.08.21 Application Installer Data Files
ii  python-xdg                    0.19-2     Python library to access freedeskt

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to