Setting apicp exactphrase parameters

Post Reply
WI-User
Posts: 4
Joined: Tue Apr 10, 2001 4:19 pm

Setting apicp exactphrase parameters

Post by WI-User »

I want to search for the documents with the exact phrase. I have the following setting in the script newsearch:

<switch $sufs>
<case 0><apicp exactphrase 1>
<case 1><apicp suffixproc 1>
<apicp minwordlen 5>
<$x= "'" "s" "es"><apicp suffix $x>
<case 2><apicp suffixproc 1>
<apicp minwordlen 5>
</switch>

However when I search for say "Hello world" (without quotes) it seem to be fetching documents with noise in between. i.e. I get documents with strings "Hello there world" in it. However if I put "Hello world" within quotes it seem to be working. Is there anyway I can make "Hello world", without quotes, to match only those documents with exact phrase "Hello world"

Thanks
WI-User
Posts: 4
Joined: Tue Apr 10, 2001 4:19 pm

Setting apicp exactphrase parameters

Post by WI-User »

I am bit confused with the example you have given. Does it just look for only "any two" words between "state" and "art" or "any number of words" ?

I mean does it return documents containing "state in art", "state of art", "state in the complex art" etc..

If I search for "blood cancer" without quotes at "www.personalmd.com/search.shtml" with "exact phrase" as search criteria then I am getting documents with "Blood Test May Detect Cancer", "Blood Test Predicts Prostate Cancer". Is this correct ?

Thanks for your help.
r.marshall
Posts: 2
Joined: Tue May 22, 2001 5:42 am

Setting apicp exactphrase parameters

Post by r.marshall »

I am a new user to the Texis product and have a questions regarding NOISE words and searching in general.

Question ...
I enter "About Morse" (without quotes) as my query and I expect to get at least 1 result back because About Morse is a top level menu item and appears in the <TITLE> tags of my page. I understand that "about" is a noise word and should be ignored and the search should take place with just "morse" (no quotes) as the query. As the website contains the word morse everywhere I expect a large number of hits .... but, my results tell me that no documents where found.

Any help would be appreciated.

Thanks,
Rob.
User avatar
Kai
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

Setting apicp exactphrase parameters

Post by Kai »

Look at the HTML source of the results page in your browser: there may be error messages in comments; what are they? Is this a standard Webinator search? If not, what is the exact SQL query, and what indexes exist on the table?
r.marshall
Posts: 2
Joined: Tue May 22, 2001 5:42 am

Setting apicp exactphrase parameters

Post by r.marshall »

There are no error messages in the html. After investigation (and some support) it turns out that the url I was creating to call the search script wasn't encoding the query,
e.q.
About Morse was http://......&query="About Morse".
It should be http://......&query="About+Morse"

cheers,

Rob Marshall
Post Reply