Project-Id-Version: Trac 0.12
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <>
Language-Team: en_US <>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Ticket #49 (new improvement)

Opened 10 years ago

Last modified 10 years ago

Improve searching by using Lucene

Reported by: martin Owned by:
Priority: minor Milestone:
Component: behaviour Version:
Keywords: search, query Cc:


Apache Lucene ( is a high performance search engine which can be used to index text files but also structured contents of a database. It could also for example the contents of comments. It also performs parsing of queries and allows a lot of custom queries which would be error prone to implement by hand.

Here is a tutorial on how to integrate it with Cake and gives a good impression on how Lucene works and how the index gets built. It also shows its flexibility on the input data that it uses for indexing.

At is the documentation of the zend component that is required to get it run.

Change History

comment:1 Changed 10 years ago by martin

  • Cc added; martin@silef.d removed

comment:2 Changed 10 years ago by sebastian

First of all, a search within the database could be extended to use the build-in function provided by SQL standard as the statement 'LIKE' ( This might be slow, but is supported by the most database backends and does not increase the requirements or dependencies of external libs and components (see #6).

Comments (or also tag names, categories, etc) could be search by the LIKE statement and would be a nice enhancement for the quick search! Therefore, the quick search 'tag' would find tags like 'phtagr' and comments having 'advantage'.

In a later stage, the idea of a Lucene search engine would be a nice plugin for a big big setup of phTagr ;-)

Note: See TracTickets for help on using tickets.