[OPEN-ILS-DEV] Automatic stemming in Evergreen

Kathy Lussier klussier at masslnc.org
Tue Aug 14 12:26:17 EDT 2012


Thanks Mike!


> Relating particularly to this example, though, is the (now generally
> unused) relevance adjustment code that targets exactly this problem by
> boosting the score of (without restricting to) exact word matches.
> One of the hopes with the "convert some stored procedures from perl or
> plpgsql to C" GSoC project was to make that faster, but the expected
> improvement didn't materialize quite as expected -- which, I want to
> make clear, is not the fault of the student -- but I (and, it seems,
> Dan, too, at least tangentially) will be looking at for
> Evergreen.NEXT, along with other things like trigram indexing and some
> other fun stuff.


I'm glad you brought this up because it leads to a question that has  
previously crossed my mind. What exactly is an "exact word match" when  
it's used for relevance ranking? I ask because an exact match search,  
which I believe would use the syntax of "^the assist$", does not work  
for this search because the full title (including subtitle) of this  
book is "The assist : hoops, hope, and the game of their lives." The  
exact match syntax seems to only work if it matches the entire field.

When the relevance adjustment code comes into play, is it also looking  
for a full-field match before boosting relevancy for a given title?

Thanks!
Kathy


More information about the Open-ils-dev mailing list