Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

nothing can find!

Quote Reply
nothing can find!
Hi,
the following problem has:
no entry is found! The message appears always:

Error: No matching links.

The entries are available all, but one cannot look up. Where is the error situated? in the search cgi?


urs


------------------
Quote Reply
Re: nothing can find! In reply to
The number one problem -- is forgetting to put a weight in the Table Editor. Use the admin, select Table Editor - Links and in the "weight" column enter a number. Every time the search phrase is found in that field, the "score" is incremented by that amount. So, you might want to weight the Title higher than the URL, and the Description higher than both of those.

Any field you want users to be able to search on needs to be given at least a value of 1.

I use 1, 3, and 5 as steps for "hits" so that any hit gets a 1, the wordy hits get 3's and the Titles and Keywords (my field) get 5's.

Once you do that, you need to re-index, and you should see some stats -- and it might take a while depending on how large your database is, how many fields are being indexed, and how large each field is.



------------------
POSTCARDS.COM -- Everything Postcards on the Internet www.postcards.com
LinkSQL FAQ: www.postcards.com/FAQ/LinkSQL/







Quote Reply
Re: nothing can find! In reply to
you have to index your site first.. in the admin under building use Re-index..

also.. you migh have to select index weights first in the Links table editor..

or use search-ni.cgi

jerry
Quote Reply
Re: nothing can find! In reply to
Hi,
Thanks for the information, I has that everything made however I can in the form input, which I want, the program finds not one entry. If I need search ni.cgi, it finds to number of categories and links, but it does not show the entry! hmmmmmmmmmmmmmmm

I can make a new entry and one can him manual afterwards find, but not with " SEARCH "!


urs


------------------
Quote Reply
Re: nothing can find! In reply to
I'm not clear on the problem.

You set the weights, but still are not getting any "hits" with the searches?

Did you change the <FORM> tag to point to search_ni.cgi rather than search.cgi?

Did you make sure to set

$LINKS{foreign_char} = 1;


Other than that, I'm not understanding the problem -- can you point to the URL's?




------------------
POSTCARDS.COM -- Everything Postcards on the Internet www.postcards.com
LinkSQL FAQ: www.postcards.com/FAQ/LinkSQL/







Quote Reply
Re: nothing can find! In reply to
hi,

All ok! now it functioned. I find the entries. Cordial thanks for the assistance!

urs

------------------
Quote Reply
Re: nothing can find! In reply to
Alex has hinted he's working on a solution to allow local defaults and prevent the weights from resetting to 0 every time.

Quote Reply
Re: nothing can find! In reply to
Thanks Pugdog

I lost my links and did what you suggested and there back again.

The number one problem -- is forgetting to put a weight in the Table Editor

Cheers

Tony
Quote Reply
Re: nothing can find! In reply to
Right, it's just a matter of figuring out where to store the information. =)

Cheers,

Alex