How are stop words supposed to work? It appears that if you do a search on a single stop word, it will execute the search: searching for 'the' will return results in our catalog. If you do a search on a stop word plus another term, it seems to ignore the stop word: searching for 'the stuff' will only return results from 'stuff.' Is this the intended behavior? -- Owen ---- Nelsonville Public Library Koha 2.0.0-pre2-R2
Hi Owen! I don't know for sure how they are supposed to work in Koha, but the theory is that when you execute a search, certain words that are not useful (in terms of keyword searching anyway) are stopped out and ignored. Thus you don't end up getting the stop words "anded" into the search and taking processing time. It speeds the search up significantly. In other systems I have used, a search for "the" wouldn't have yielded results - because "the" wouldn't have been in the index. I suspect that the behaviour that you report is the intended behaviour. It is what I would have expected, and what I think is most useful - although I can't really see why anyone would want to search for "the" except in curiosity to see how many items turn up. Regards, Al Calame Management Consultant, Librarian-at-Large, Albert P. Calame Consulting Montreal, Québec, Canada 514-745-3424 albert.p.calame@sympatico.ca ----- Original Message ----- From: "Owen Leonard" <oleonard@athenscounty.lib.oh.us> To: <koha-devel@lists.sourceforge.net> Sent: Monday, August 04, 2003 3:25 PM Subject: [Koha-devel] Stop words
How are stop words supposed to work? It appears that if you do a search on a single stop word, it will execute the search: searching for 'the' will return results in our catalog. If you do a search on a stop word plus another term, it seems to ignore the stop word: searching for 'the stuff' will only return results from 'stuff.'
Is this the intended behavior?
-- Owen
---- Nelsonville Public Library Koha 2.0.0-pre2-R2
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________ Koha-devel mailing list Koha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/koha-devel
Owen Leonard wrote:
How are stop words supposed to work? It appears that if you do a search on a single stop word, it will execute the search: searching for 'the' will return results in our catalog. If you do a search on a stop word plus another term, it seems to ignore the stop word: searching for 'the stuff' will only return results from 'stuff.'
Is this the intended behavior?
Are you sure of the behaviour ? I tried (in french) with "la" (= "the" in english). I get only titles having a word BEGINNING by LE. example : "la lattitude et la longitude". The title had not been taken because of La, but because of Lattitude. It's a recent improvment : when searching "contains", you search "contains a word beginning by". I don't remembre who asked for this. Maybe it was NPL :-) -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
Owen Leonard wrote:
How are stop words supposed to work? It appears that if you do a search on a single stop word, it will execute the search: searching for 'the' will return results in our catalog. If you do a search on a stop word plus another term, it seems to ignore the stop word: searching for 'the stuff' will only return results from 'stuff.'
Is this the intended behavior?
I would have thought it was the intended behaviour - so that if you had a book whose title was "just" a stop word you could still find it. but IANAL :-) Cheers Rachel _____________________________________________________________ Rachel Hamilton-Williams Katipo Communications WEBMISTRESS ph 021 389 128 or +64 04 934 1285 mailto:rachel@katipo.co.nz PO Box 12487, Wellington http://www.katipo.co.nz New Zealand Koha Open Source Library System http://www.koha.org
participants (4)
-
Albert P. Calame -
Owen Leonard -
paul POULAIN -
Rachel Hamilton-Williams