[Debtags-commits] [svn] r1930 - web/trunk

Enrico Zini enrico at enricozini.org
Mon Sep 18 21:34:11 UTC 2006


On Mon, Sep 18, 2006 at 09:14:25PM +0000, Enrico Zini wrote:

> Added:
>    web/trunk/fts.html
> Log:
> Added Ajax full text search powered by debtagsd

We're multi-tier!
We're middleware!
We're high-performance!
We're Ajax!

More seriously, that's an HTML page that connects to a very thin python
CGI that just cleans up the query and sends to debtagsd running on
Alioth.

debtagsd is the new little toy I've created: instead of becoming crazy
with creating efficient mutable on-disk indexes, I just keep the data in
memory, since there's not much of it.  This also allows me to reuse the
code I have in tagcoll and avoid reimplementing things multiple times in
different languages or systems.

debtagsd features:

 * xapian index for full-text search on package descriptions
 * debtags smart search
   (try: http://debtags.alioth.debian.org/cgi-bin/reltags/image/editor
    after reltags, you put the keywords separated by slashes, and you
    get the resulting list of tags sorted by relevance.  I still need to
    filter out the various special facets and tags)

It's now trivial to extend it to allow submission of patches and
saving the changed database on file, or just the patch.

Unless I'm missing something, we might be seeing the beginning of the
new engine for the central database, which finally reuses the same code
as tagcoll, debtags, packagesearch, adept, debtags-edit and so on.

Improvements to the central database should result in improvements to
all the rest of the toolchain, and the other way round as well.


Ciao,

Enrico

-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debtags-devel/attachments/20060918/1cd22770/attachment.pgp


More information about the Debtags-devel mailing list