[Evergreen-dev] Debugging Relevancy sort and keyword search
Josh Stompro
stomproj at gsuite.larl.org
Wed May 25 17:33:06 EDT 2022
Michele, I think my weights are already different, so I don't think I'm
running into this. The search is coming up with the correct results, it
just seems like the relevance ranking should be placing the title first, or
close to first since the keyword is in the title.
I'll keep poking at it, maybe I was just running into search cache issues.
I restarted the open-ils.search, but didn't use the cache buster string
when I was testing.
Josh
On Wed, May 25, 2022 at 3:55 PM Josh Stompro <stomproj at gsuite.larl.org>
wrote:
> Michele, thank you very much for pointing that out, that does seem
> promising. I'll report back after trying the fix.
> Josh
>
>
> On Wed, May 25, 2022 at 3:37 PM Morgan, Michele <mmorgan at noblenet.org>
> wrote:
>
>> Hi Josh,
>>
>> Have you seen this Launchpad bug?
>>
>> https://bugs.launchpad.net/evergreen/+bug/1942467
>>
>> I'm not sure if it's related, but the term "performing strangely" in your
>> description made me think of it.
>>
>> Just a thought,
>> Michele
>>
>> --
>> Michele M. Morgan, Technical Support Analyst
>> North of Boston Library Exchange, Danvers Massachusetts
>> mmorgan at noblenet.org
>>
>>
>>
>> On Wed, May 25, 2022 at 4:21 PM Josh Stompro via Evergreen-dev <
>> evergreen-dev at list.evergreen-ils.org> wrote:
>>
>>> Hello, does anyone know of a guide or have any tips on figuring out why
>>> a relevancy ranked keyword search seems to be performing strangely?
>>>
>>> I'm looking at the docs for the virtual index definitions
>>> https://docs.evergreen-ils.org/3.2/_virtual_index_definitions.html
>>>
>>> I went into the "All Searchable Fields" entry, and used the manage link
>>> to see the virtual fields. And I see that I cranked up the weight for the
>>> "Main Title" a few years ago. But a keyword search for "Hotspot" is
>>> showing titles with "Hotspot" in the 520 field before those that have it in
>>> the title.
>>>
>>> Even though the record with Hotspot in the title also has "Hotspot" in
>>> the 520 field.
>>>
>>> If there is a way to see the search details on how the relevancy ranking
>>> is calculated, maybe I can spot where I'm going wrong.
>>>
>>> I'm wondering if I'm missing a step where I'm supposed to disable the
>>> non virtual metabib fields for the keyword class as search fields, or
>>> something like that?
>>>
>>> Thanks
>>> Josh
>>>
>>>
>>>
>>> [image: Company logo]
>>> *Josh Stompro*
>>> IT Director
>>> stomproj at gsuite.larl.org | 218-233-3757 ext. 139 | 218-790-2110
>>> *Lake Agassiz Regional Library *
>>> 118 5th ST S
>>> Moorhead MN 56560
>>> www.larl.org
>>> *Our mission is to enrich lives and strengthen communities.*
>>> _______________________________________________
>>> Evergreen-dev mailing list
>>> Evergreen-dev at list.evergreen-ils.org
>>> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-dev
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.evergreen-ils.org/pipermail/evergreen-dev/attachments/20220525/f17f32dc/attachment.htm>
More information about the Evergreen-dev
mailing list