lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



> -----Original Message-----
> From: lua-bounces@bazar2.conectiva.com.br [mailto:lua-
> bounces@bazar2.conectiva.com.br] On Behalf Of PA
> Sent: Tuesday, February 08, 2005 2:36 AM
> To: Lua list
> Subject: Re: Full text search?
> 
> 
> My current thinking is to use Luiz's lgdbm bindings to store the
> textual part of my data. And then perform a simple pattern matching
> while enumerating through the values. The result being a set of
> document ids. Pretty lame, but should work for my modest needs of the
> moment :)
> 

By sacrificing a little bit on the performance side (presuming lgdbm is
faster than sqlite), investigating and investing in SQLite (and it's binding
in Lua: LuaSQL or Lua*Sqlite*) might provide a roadmap for portability and
scalability just in case your project becomes a wild success.

Cheers
Vijay Aswadhati