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

Cannot Search Number

Quote Reply
Cannot Search Number
Hi,
When i search number , etc : "400" or "500"
The results is :
Error: No matching links.

How to fix this problem? Help.


Quote Reply
Re: Cannot Search Number In reply to
In Reply To:
When i search number , etc : "400" or "500"
The results is :
Error: No matching links.
Which field contain the content number "400" or "500" ?
Have you set on that field (maybe id?) the index weight >0 and re-index it after that ? All can be done in with admin.cgi.

Hopes this help you, because it's my first try to help somehere in this forum with my little knowlodge Smile.

Regards startpoint.

Quote Reply
Re: Cannot Search Number In reply to
Actually, you need to use editor.cgi that is linked in the admin.cgi script. You need to re-weight your fields as startpoint mentioned. To do this, click on the table that you want to reset weights and then click on Edit Field Definitions.

Regards,

Eliot Lee

Quote Reply
Re: Cannot Search Number In reply to
What are you trying to search?

What fields are you trying to search on?

Links screens out certain things -- such as some numbers, and words on the
"bad words" list, etc.



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

Quote Reply
Re: Cannot Search Number In reply to
That number is at my Title filed ,
My title etc :
ABC Car 400 model
ABC Car 500 model
ABC Car 550 model .......

I can search 'Car' keyword , and got the Links Results.

But can't search '400' or '500' or '550'
or 'anynumber' keyword ,
The results is :
Error: No matching links.

How to fix this problem? Help.







Quote Reply
Re: Cannot Search Number In reply to
In Search.pm

Try commenting out the two places you find:

Code:
# ... not a phone number
if ($querant =~ /^[\d\-]+$/)
{ push @reject, [ $querant, $dr{PHONENUMBER} ]; next }
http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/

Quote Reply
Re: Cannot Search Number In reply to
Hi Pugdog,
Before post above problem ,
I already do commenting out the two places you find:
--------------------------------------------------------------------------------------------
# ... not a phone number
if ($querant =~ /^[\d\-]+$/)
{ push @reject, [ $querant, $dr{PHONENUMBER} ]; next }
--------------------------------------------------------------------------------------------

The Problem Stiil Not Solve , Please Help Me !!

Quote Reply
Re: Cannot Search Number In reply to
That was the only place I saw it filtering out the numbers.

After commmenting out those _two_ blocks of lines, did you RE-INDEX the site??

The second set of lines would prevent numbers from being indexed, so if you ran an indexed search you wouldn't find them until you re-index.

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

Quote Reply
Re: Cannot Search Number In reply to
Thanks Pugdog ,
Now is ok , I can search Number.
I forgot to "REINDEX" ,
Thanks again.

One think search problem is can't use "and" / "or" connectors,
Temp. can use for "and" connectors keyword is
+keyword1 +keyword2

People is don't like use this ,
Can u sovle this problem for "and" connectors ,
don't add use the "+" keyword.

Thanks.