http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12323

--- Comment #11 from David Cook <[email protected]> ---
(In reply to Katrin Fischer from comment #10)
> I've retested this:
> 
> I searched for an existing record to create an order line from in
> acquisitions. My search term was DE-576, which is the MarcOrgCode that
> appears in most of my records.
> 
> Without patch, plain master:
> - QueryParser: Try
> - Results ARE sorted by biblionumber
> 
> - QueryParser: Don't try
> - Results ARE sorted by biblionumber
> 
> With patch:
> - Query parser: Try
> - Results ARE sorted by bilbionumber
> 
> - Query parser: Don't try
> - Results ARE sorted by bilbionumber
> 
> ... I am confused now. Maybe some other setting plays a role here?

When QueryParser is set to "Don't try", "QueryAutoTruncation" will turn off
relevance searching if it's set to "automatically". 

However, relevance searching shouldn't be affected by "QueryAutoTruncation"
when QueryParser is set to "Try".

I suspect...that your result might be coincidence, Katrin. With the
QueryParser, it applies relevance to your search query as well as adding
relevance subqueries for title keyword and title exact.

Since you're using "DE-576" as your search term, you'll probably get no hits
for title keyword or title exact, so the relevance "bumps" become irrelevant.

Then, for the results you do get, I suspect that "DE-576" would only show up
once in a record so each record retrieved would have the same relevance score.
Since the search term is quite specific, Zebra will probably only return
records with that exact search term so you won't get anything "less relevant".

tl;dr

Katrin, could you try again but using a more vague search term? Something that
is likely to appear in a lot of different records with different frequency?
Probably a noun. I often like to use "health" or "test" as we have a lot of
medical records.

I might be wrong, but...I think that's the most logical explanation for your
results.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to