Bug 14992 - New options and clarification for authority search modes dropdown
Summary: New options and clarification for authority search modes dropdown
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-09 09:12 UTC by Gaetan Boisson
Modified: 2020-03-24 15:21 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gaetan Boisson 2015-10-09 09:12:43 UTC
Right now the options for searching in the authorities in the dropdown menu are confusing a lot of users.

They are:
Contains
Starts with
Is exactly

What they actually do is:

"Contains" searches for all the terms entered, in any order, with a right truncature.

"Starts with" searches for all the terms entered, in that order, with a right truncature. The matching subfield itself doesn't have to start with the terms entered. If you search for "John", "Cash, Johnny" will be a valid result. (This is the most confusing option right now.)

"Is exactly" searches for all the terms entered, in that order, without a truncature. The whole subfield doesn't have to match the phrase entered by the user though, so if you search for "Johnny", "Cash, Johnny" will be a valid result, more confusingly "Smith-Cash, Johnny" will be a valid result if you search for "Cash, Johnny".

This patch will change the options offered so that they are:
"with truncature, in any order" (what "contains" does right now)
"without truncature, in any order" (new option, all the entered terms exactly as they were entered, in any order)
"without truncature, in that order" (what "is exactly" does right now)
"Is exactly" (new option, there is a subfield that matches exactly the entered sequence, the whole subfield has to match)

The current "Starts with" will be removed as there doesn't seem to be a way of searching for "the subfield starts with" (See bug 11158). What it does right now would be "with truncature, in that order" but i cannot think of  a useful case for this. (It allows for searching for "Cas John" and finding "Cash, Johnny".) If someone sees a reason to keep it, then we will reword it to "with truncature, in that order".
Comment 1 Fridolin Somers 2020-03-24 15:21:33 UTC
Should be considered behavior with Elasticsearch