lua-users home
lua-l archive

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

On 2/22/08, Yuri Takhteyev <> wrote:
>  We discussed the search issue in July and considered implementing
>  simple search, but the feeling at the time was that simple search
>  within page names isn't really so useful at the end of the day.  (But
>  seriously, if there is demand for it, I'll add it tomorrow.)  Doing
>  our own full-text search would also be feasible, but it would be hard
>  to match what Google offers and would raise the question of how to
>  store the index.  I've been committed from day one to making sure that
>  Sputnik can be used with CGI to make it more "democratic."  One can
>  build an index of headings in under a second, but one can't expect to
>  build an index of all the content while the user is waiting for a
>  response.  There needs to be a way to store the index and also to
>  update it in an efficient way.  I think the best long term solution
>  would be to make Lua binding to some robust search system like Xapian,
>  but this is a task I have not yet found time for.
>  Again, if anyone else thinks that a simple unranked search just within
>  page names is a useful addition, I'll do it tomorrow or on Sunday, and
>  I will make it installable as a rock on top of existing (recent)
>  Sputnik installations.
>   - yuri

I have been using PmWiki ( for several years and
love in no small part because of its comprehensive internal full
search capabilities that include keywords, categories (aka special
keywords), boolean composition, etc. PmWiki is written in pure PHP. I
would argue that anything that can be done in pure PHP can be done in
Lua. Please, if you have time, take a look on PmWiki search syntax

Quite few people like me use wikis to manage their own data. Those
wikis are small, portable (I can run mine PmWiki from USB stick) and
are often used off-line. Relying on Google is no-go in this case.

I would love to try out Sputnuk, but I cannot get around my data
without good internal search tool.