web2py plugin_haystack.py

77 views
Skip to first unread message

Massimo DiPierro

unread,
Jul 26, 2013, 8:42:57 AM7/26/13
to web2py-d...@googlegroups.com
This is a prototype. It is a quite dumb but portable full text search. It should be easy to create adapters for Solr, Sphinx, Whoosh etc.

First of all we should agree on the API. What do you think about the API? An example in the test() function.
It assumes users only update one record at the time (via a form, for example).

Massimo

plugin_haystack.py

Massimo DiPierro

unread,
Jul 26, 2013, 10:38:53 AM7/26/13
to web2py-d...@googlegroups.com
Minor change and minimalist whoosh support:

plugin_haystack.py

Massimo DiPierro

unread,
Jul 26, 2013, 11:21:01 AM7/26/13
to web2py-d...@googlegroups.com
Added Solr support but it is untested:

plugin_haystack.py
Reply all
Reply to author
Forward
0 new messages