Gossamer Forum
Quote Reply
Searching
Hello,

I am really having a problem with the search function in links SQL.
I work with Links 2 and with Links SQL on my website.
The problem is that when i do a search on a word and this word is part of another word it will not be found in Links SQL and i works fine in Links 2.
Example :
Search for : book
In my link description i have bookkeeper

The word book is part of bookkeeper and has to be found in the search function. Well, in Links 2 it comes out in the selection and in Links SQL it won't. In Links SQL the word has to be 100% correct and only that word will be in the search results.
Am i doing something wrong ?
Can anybody help me with this ?

Thanks a lot in advanced.

Etienne


Quote Reply
Re: Searching In reply to
There is a parameter 'ww' (the old 'substring').

ww stands for "Whole Word" so that if it's set to "1" it's "exact" and if it's set to '0' it's partial. This is the _reverse_ of 'substring'.

I believe I wrote one or two long messages about this about 6 or 8 weeks ago in response to some problems.

You can modify the search.cgi to accept and pass that parameter to the way you want.



http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/