Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How does search.cgi work?

Quote Reply
How does search.cgi work?
Hello, what's cookin'?

select count(*) from lsql_Links where Description LIKE "%willy%" and Description LIKE "%wonka%";

gives a vastly different number of results to

perl/search.cgi?query=willy+wonka&Search=Search

Am I being stupid here or I expect them to be at least comparable?!

Thanking you kindly - Mr. Chris
Quote Reply
Re: [chrisowen] How does search.cgi work? In reply to
It depends on which indexing scheme you are using. If you're using the nonindexed scheme, then it should do something similar to your query, but other indexing schemes do things a little differently. The manual describes the differences between the various indexing schemes and how to change it.

Adrian