|
Hi everyone,
I just installed mnoGoSearch on my linux
server.
Compiling worked fine.
But now, I try to use HTDBList and HTDBDoc and it
seems to not indexing anything but the htdb:/ root.
Here is my indexer.conf extract :
##############################"
DBAddr mysql://user:pass@/base/
HTDBList SELECT
concat(\
'htdb:/',\ ID)\ FROM test_mno HTDBDoc SELECT \
concat(\ 'HTTP/1.0 200 OK\\r\\n', \ 'Content-type: text/plain\\r\\n',\ '\\r\\n',\ TEXT) \ FROM test_mno where id=$1 Server htdb:/
###############################
test_mno.ID is INT PRIMARYKEY
test_mno.TEXT is VARCHAR(255), I tried also
LONGTEXT
Well, connection to database is working : when
I specify a wrong table name in HTDBList I got an error.
Indexer insert a row in his table url with
url.url='htdb:/'.
But it seems that HTDBDoc is never executed (a
wrong table name in it never returns an error) and no other url is added in
table url.
I got two rows in my table test_mno with ID 1 and
2.
Am I wrong in indexer.conf ?
thanks
Patrick
|
