Hi,

First of all sorry for my newbie 
questions, but I didn't find the 
answers in the Installation quide.

I'd like to use mnoGoSearch to index the data
in my database (mysql) and then to search
in them via an PHP form.
I don't understand how should I set up the
indexer.conf file, to connect to my
database, and to index the whole set
of data in it.

Here's my indexer.conf (which is nearly just 
the copy of the default one):

DBAddr mysql://user:pass@localhost/mnoGoSearch/

HTDBList SELECT concat("http://localhost/search.php?id=",id) \
FROM vexpo.company LIMIT 2

HTDBDoc \
SELECT concat( \
'HTTP/1.0 200 OK\\r\\n',\
'Content-type: text/html\\r\\n',\
'Last-Modified: ',Date_format(startLine,'%a, %d %b %Y %T'),' GMT\\r\\n',\
'\\r\\n',\
'<HTML><HEAD>',\
'<TITLE>',subject,'</TITLE>',\
'<META NAME="Description" Content="',city,' ',zip,' ',address,'">',\
'</HEAD>\\n',\
'<BODY>\\n',msg,'\\n</BODY></HTML>'\
) \
FROM mydb.usertable \

Server htdb:/
Realm  http://localhost/search.php?id=*
Alias  http://localhost/search.php?id=  htdb:/

I created the mnoGoSearch database, and I just want to index
my tables, not files nor sites.
It has some data in the dict, and url table, but I can't search
for them. If I run the
http://localhost/cgi-bin/search.cgi directly it sends
the "1146: Table 'mydb.stopword' doesn't exist " error
message.
Although the table exists there isn't any data in it.

Any help would be appreciadet!

Thanks in advance!

Regards;

                  Istvan 
___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to