likepallmatch not working

Post Reply
kdua
Posts: 10
Joined: Mon Jul 23, 2001 3:01 pm

likepallmatch not working

Post by kdua »

I have a medical dictionary database and i have created an additional Metamorph Inverted index on Title field of the html table.
I have set likepallmatch=1 and am issuing a query like:
select Title from html where Title likep 'down syndrome'

It is still giving me pages with Title 'Syndrome' and a lot of other pages with just the word Syndrome in their title like Barret Syndrome etc.

Isn't likepallmatch supposed to look for pages containing both the search terms?

Thanks
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

likepallmatch not working

Post by mark »

"down" is a noise word and is removed from the query before likep even sees it. Turn on keepnoise or use a custom noise list.
kdua
Posts: 10
Joined: Mon Jul 23, 2001 3:01 pm

likepallmatch not working

Post by kdua »

Thanks for a prompt reply
I tried putting
<apicp "keepnoise" "on">
just before issuing the select statement but now its giving me "No results found".If i remove the keepnoise statement it again gives me the Syndrome Page(and not Down Syndrome)
Am i supposed to put this statement at some specific place.Thanks in advance, i am really struggling with this ..
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

likepallmatch not working

Post by mark »

You also need to use keepnoise when creating the metamorph inverted index so that it will index noise words and they can be found.
Make sure you drop the index before recreating it with keepnoise on.
Post Reply