Gossamer Forum
Home : Products : Links 2.0 : Discussions :

search.cgi

Quote Reply
search.cgi
Hi!

Search.cgi returns "no results", if combinations of terms should be found in several fields - even if the fields are searchable (links.def).

eg:
Search for: "elephant mouse"
* returns a result, if all terms are found in the field 'animals'
* returns no result, if 'mouse' can be found in field 'smallanimals' and 'elephant' in field 'biganimals'.

Anyone got an idea to fix this?

Regards,
Norbert

Quote Reply
Re: search.cgi In reply to
Are you attempting you do searches by field (ie, search.cgi?query=?&Title=something)? If so, you will only get results on exact matches (ie, a search for "this" will return a link who's title is "this", but not a record with the title "this and that"). I would suggest using DBMAN for searching your database as it has much better search cababilites available to the users (pretty much like the search tool in the Links admin screen).

--Drew
Quote Reply
Re: search.cgi In reply to
Hi Drew!

I'm using the "pure" search.cgi - without any mod. Maybe I really should take a look at DBMAN... the attempts to find the bug in search.cgi only resulted in grey hair. So, you're right. It doesn't play a role, if DBMAN or search CGI causes grey hairs. :o)

Regards,
Norbert