lua-users home
lua-l archive

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


On Feb 15, 2010, at 5:55 PM, Thomas Harning Jr. wrote:

> I'd recommend SQLite with its full-text engine + a Lua binding
> 
> http://www.sqlite.org/

Yes, SQLite + FullTextSearch module is very nice, and quite lightweight, everything being equal:

http://www.sqlite.org/fts3.html

Usage example:

Create table
http://dev.alt.textdrive.com/browser/HTTP/Finder.dml#L33

Insert text:
http://dev.alt.textdrive.com/browser/HTTP/Finder.dml#L54

Find text:
http://dev.alt.textdrive.com/browser/HTTP/Finder.dml#L68

LuaSQL's binding for SQLite works fine.