Defining Synonyms

KMandalia
Posts: 301
Joined: Fri Jul 09, 2004 3:50 pm

Defining Synonyms

Post by KMandalia »

Thanks,

Did exactly as you said.

Works for 5300, call report (I am not very sure though. It looks like it is making sure it finds all results with 5300 call report first even though 5300 call report is deep down in body text and there is a document 5 page later with call report in title.

Doesn't work for chip, charles though (I think because chip have other synonyms).

I think equivalance will not do what I need to do then??
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Defining Synonyms

Post by mark »

One thing I didn't ask about. Did you turn on "Allow Equivalences" under search settings?

And of course, make sure eqvsusr is on a local disk and is readable by everyone.

If you still have problems view the source of the search results page and see if there are any errors listed in html comments.
KMandalia
Posts: 301
Joined: Fri Jul 09, 2004 3:50 pm

Defining Synonyms

Post by KMandalia »

Thanks for replying, mark. You can visit http://search.creditunions.com to take a look at our Industry search. Please comment on anything that you think I am doing wrong or would improve our search.

1) Yes, allow equivalences is turned on.
2) type 5300 or 'call report' and check the results (first 10 and #44,to our users #44 should be among the first 10 when synonyms are on). To me, it looks like search is not doing its job right.

It must be readable by everyone since it works for 5300,call report and doesn't work for chip, charles.

My point (or question) is when you say <apicp keepeqvs 1> after <apicp eqprefix c:\eqvsusr> it should only consider eqvsusr right. Doesn't look like so.

3)I don't see any error when I type in 'chip'. I get results with 'part' highlighted :)

4) I actually wanted 'money' to be 'money' when typed in.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Defining Synonyms

Post by mark »

For the ranking, other factors besides position come into play. If you don't want them to set them to 0 and just use position in text.

Your search is acting like you did ueqprefix instead of eqprefix. Double check. I can't imagine any other reason it would do that.
KMandalia
Posts: 301
Joined: Fri Jul 09, 2004 3:50 pm

Defining Synonyms

Post by KMandalia »

in fpar after qminprelen


<apicp eqprefix E:\Program Files\Thunderstone Software\Webinator\eqvsusr>
<apicp keepeqvs 1>

I WANT TO,Only find synonyms for the terms I supply, nothing else. We have that functionality for noise words then why isn't synonyms working.

Your equivalence file of 250,000 words would be applicable if I am running a search engine like google. Not for single site or not for a target set. If there is no way I can do what I want to do, I would request that you seriously consider this case.

The term 'press' brings results that have 'urge' in it. 'press' for me is 'media'.........
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Defining Synonyms

Post by mark »

I understand what you want and am trying to help you get it.
Your filename needs quotes around it.
<apicp eqprefix "E:\Program Files\Thunderstone Software\Webinator\eqvsusr">

Without the quotes you're passing too many arguments to apicp and in the source of the results page you will see an error like
<!-- 015 /webinator/search:485: Wrong number of args to <apicp eqprefix>: expected two -->
and it will ignore your setting attempt and use the default main equiv.

First rule of vortex programming: IF IT DOESN'T WORK THE WAY YOU THINK IT SHOULD VIEW THE HTML SOURCE OF THE RESULTS PAGE AND LOOK FOR ERRORS/WARNINGS WITHIN HTML COMMENTS.
KMandalia
Posts: 301
Joined: Fri Jul 09, 2004 3:50 pm

Defining Synonyms

Post by KMandalia »

I think the quotes did the job. Thanks a lot mark.
Post Reply