[Koha] Relevance

BRANNON, CHRISTOPHER CBRANNON at cdalibrary.org
Wed Jul 4 02:31:56 NZST 2012


Lori,
                Thanks for the information.  This pretty much says  what ByWater told us to set when we went online, but I'm still looking for information on how relevance works, and why it does what it does.  This still remains a mystery.

Christopher Brannon

From: loriayre at gmail.com [mailto:loriayre at gmail.com] On Behalf Of Lori Bowen Ayre
Sent: Tuesday, June 26, 2012 2:48 PM
To: BRANNON, CHRISTOPHER
Cc: koha at lists.katipo.co.nz
Subject: Re: [Koha] Relevance

This this help?

01:42<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958182>

Milts_NZ

Hey Idlers, is there anyone I can talk to about stopwords in Koha?

01:42<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958183>

druthb

Hi, Milts.  :)

01:43<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958184>

Milts_NZ

hey :D

01:43<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958185>

we're playing with stopwords, and it seems to make little difference... is it correct that you can't use stopwords if Zebra is turned on?

01:43<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958186>

because without them our relevancy ranking is pretty off...

01:44<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958187>

druthb

The short answer is, if you're using NoZebra, there are stopwords, but you have bigger problems, as that is deprecated, and really shouldn't be used.  If you're using Zebra, there are no stopwords.

01:44<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958188>

Milts_NZ

ah I was wondering that. We are using Zebra.

01:44<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958189>

druthb

I've not observed that problem here; lemme grab a couple of settings for you to check.

01:44<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958190>

mtj

ooh, that sounds like it needs a bug logged

01:44<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958191>

druthb

what does?

01:44<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958192>

wahanui

does is calculate the discount on this price or the tax is removed before to calculte the discount on the price before taxes?

01:45<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958193>

druthb

wahanui: forget does

01:45<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958194>

wahanui

druthb: I forgot does

01:45<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958195>

Milts_NZ

I've got a screenshot of a search for the title of an item uploaded here:http://www.4freeimagehost.com/[...]=8740fa83bc35.png<http://www.4freeimagehost.com/show.php?i=8740fa83bc35.png>

01:46<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958196>

and it appears 6th in the list with all the items before it seemingly appearing because they have "a" and "the" in the titles

01:46<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958197>

druthb

we get best results with QueryAutoTruncate set to "only if * is added", QueryFuzzy "Try", QueryStemming "Try", QueryWeightFields "Enable".

01:47<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958198>

Now, in the default install, defaultSortField/defaultSortOrder are set to relevance/ascending, which doesn't make much sense...it puts the *lowest* relevance first.

01:47<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958199>

Milts_NZ

OK. We don't have QueryFuzzy and QueryStemming on, maybe they would help

01:47<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958200>

ooooo o.0

01:47<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958201>

druthb

I always end up setting defaultSortOrder and OPACdefaultSortOrder to "descending," which makes better sense for relevance.

01:48<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958202>

Milts_NZ

will that also make a difference when searching in the staff side?

01:48<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958203>

druthb

defaultSortOrder is the staff sidd, OPACdefaultSortOrder is the OPAC

01:48<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958204>

*side

01:49<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958205>

mtj

druthb: a patch to remove stopwords, after nozebra code is  deleted

01:49<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958206>

druthb

no need to reindex when you change those; it Just Works.

01:49<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958207>

mtj++   once NoZebra is gone, yeah, all the stuff that only works for NoZebra needs to go away tooooo

01:50<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958208>

Milts_NZ

druthb: Thanks, playing with the sort order's done it

01:50<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958209>

druthb

Glad to have been of service Milts.  I set up new installs all the time, and that's just one of my setting-up steps.

01:52<http://irc.koha-community.org/irclog/koha/2012-04-27#i_958210>

Milts_NZ

druthb: SpaceLibrarian also says Hi and THANKS


I found it in the IRC logs by searching "relevancy"  in the home page search box.

Lori


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=
Lori Bowen Ayre //
Library Technology Consultant / The Galecia Group
Oversight Board & Communications Committee / Evergreen
(707) 763-6869 // Lori.Ayre at galecia.com<mailto:Lori.Ayre at galecia.com>
Availability:  http://tungle.me/lori.ayre

Specializing in open source ILS solutions, RFID, filtering,
workflow optimization, and materials handling
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

On Tue, Jun 26, 2012 at 1:38 PM, BRANNON, CHRISTOPHER <CBRANNON at cdalibrary.org<mailto:CBRANNON at cdalibrary.org>> wrote:
I was wondering if anyone could shed some light on how relevance is determined in the Koha catalog.  Our consortium cannot figure out why things are in the order they are in when sorting by relevance.  There is apparently no information handy on this topic.  Any insight on this topic would be most appreciated!

Christopher
_______________________________________________
Koha mailing list  http://koha-community.org
Koha at lists.katipo.co.nz<mailto:Koha at lists.katipo.co.nz>
http://lists.katipo.co.nz/mailman/listinfo/koha



More information about the Koha mailing list