lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petite Abeille <>
Subject Re: Haloe (Lucene package) released!
Date Mon, 08 Sep 2008 18:34:02 GMT

On Sep 8, 2008, at 7:49 PM, Marcus Herou wrote:

> :) Whoof so much high quality info and at the same time a huge  
> amount of useless data, splogs and spam.

Incidentally, if you search needs are humbler and do not require the  
full fire power of mighty Lucene, SQLite provides a very handy Full  
Text Search (FTS) module:

Rather straightforward to use as well:

(1) Create a table

     create virtual table document using fts3
         tokenize porter

(2) Populate it

     insert into document( name, content ) values( %s, %s )

(3) Search it

     select as name,
                 snippet( document, '<i>', '</i>', '…' ) as extract
     from        document
     where       document.content match %s

Here is an example of FTS at work:



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message