[Sputnik-list] Solved : For Sphinx full text search
pierre pracht
pierre.pracht at gmail.com
Mon Feb 25 10:22:55 GMT+2 2008
Le 25 févr. 08 à 12:20, Yuri Takhteyev a écrit :
> This sounds interesting! Does your library assume that searchd is
> running?
Yes, it send query by socket.
It's a translation of python code include in Sphinx distribution.
> Is it possible to do a query without a process running all
> the time?
You have to launch indexing on a regular basis. (cron)
./bin/indexer --config etc/sphinx.conf --all
searchd must run in background
You may launch just before query (start fast) but why ?
Lua code for query can be run in page request (no lua worker in back-
ground). Queries are very fast.
> Can you provide more detailed instructions for what one
> would need to do to run your test.lua?
Yes, see attachment.
I have take this page as starting point.
http://www.sphinxsearch.com/forum/view.html?id=367
Not very good but essential steps.
Rq: test.lua = test.py = test.php
command line utility to make query
For now I will try to index data from versium.
> BTW, any news on the blueprint front?
Well, one at time.
Just translating python code take my longer than I though.
Blue print 0,7 have been released. I will look at it.
- pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.xml
Type: text/xml
Size: 305 bytes
Desc: not available
Url : http://lists.luaforge.net/pipermail/sputnik-list/attachments/20080225/c31c6cf1/test.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sphinx.conf
Type: application/octet-stream
Size: 6989 bytes
Desc: not available
Url : http://lists.luaforge.net/pipermail/sputnik-list/attachments/20080225/c31c6cf1/sphinx.obj
More information about the Sputnik-list
mailing list