Author: Jason Maxham
Email: [EMAIL PROTECTED]
Message:
First off, many thanks to the developers for a great piece of open source software.

My goal is to use searchd for "parallel searching" (i.e., web server sends queries out 
to multiple database servers and merges results). For now, I have a web server 
(192.168.1.11) and a single database server (192.168.1.22) for testing. I am using 
mnogosearch-3.2.3 and mnogosearch-php-3.2.0.beta3.

I have a database on the stand-alone database server (192.168.1.22) with some 
documents indexed and can query them just fine from the web server when the database 
is referenced with a regular DBAddr line in search.htm:

DBAddr mysql://xxx:[EMAIL PROTECTED]/mnogosearch/ 
DBMode multi

However, when trying to use searchd, the search results page returns this:

An error occured!
Unsupported SQL database type

For the searchd implementation, I have this in search.htm:

SearchAddr 192.168.1.22

and have also tried:

DBAddr searchd://192.168.1.22/

Both return the same "Unsupported SQL database type" error.

Searchd appears to start up cleanly:

searchd started with '/usr/local/mnogosearch/etc/searchd.conf'
searchd[9237]: VarDir: '/usr/local/mnogosearch/var/'
searchd[9237]: Affixes: 0, Spells: 0, Synonyms: 0
searchd[9237]: LocalCharset: 'iso-8859-1'
searchd[9237]: Listening port 7003
searchd[9237]: Ready

Looking at searchd's output on the database machine, there aren't any obvious errors; 
in this snippet, it appears that query term "physics" finds 18 results 
"Total_found=18" just like it should:

searchd[9237]: Connect 192.168.1.11
searchd[9237]: Allow by default
searchd[9243]: Waiting for command header
searchd[9243]: Received header cmd=3 len=68
searchd[9243]: Received words len=68 
words='ps=10&q=physics&ps=20&cat=&BrowserCharset=iso-8859-1&IP=192.168.1.75'
searchd[9243]: Query: physics [Charset: iso-8859-1]
searchd[9243]: Sent total_found packet 22 bytes buf='Total_found=18'
searchd[9243]: Sent withoffset packet 8 bytes
searchd[9243]: Sent wordinfo packet 23 bytes
searchd[9243]: Sent WWL packet 79 bytes cmd=8 len=71 nwords=1
searchd[9243]: Sent words packet 152 bytes cmd=3 len=144 nwords=18
searchd[9243]: Waiting for command header
searchd[9243]: Received header cmd=5 len=72
searchd[9243]: Received DOCINFO command len=72 ndocs=18
searchd[9243]: Sent doc_info packet 8234 bytes
searchd[9243]: Waiting for command header
searchd[9243]: Received header cmd=4 len=0
searchd[9243]: Received goodbye command
searchd[9243]: Quit

But the results aren't displayed on the search page, just the "Unsupported SQL 
database type" error. What gives?

My searchd.conf is very simple:

DBAddr mysql://xxx:xxx@localhost/mnogosearch/
DBMode multi
LocalCharset iso-8859-1

I have been careful about making sure that indexer.conf, searchd.conf, and search.htm 
all have the same LocalCharset settings (have tried both iso-8859-1 and utf-8).

Anyway, I'm kind of at the end of my troubleshooting rope and was wondering if anyone 
might have some good suggestions...

Thanks for any help you can give me.

Jason

Reply: <http://www.mnogosearch.org/board/message.php?id=5025>

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

Reply via email to