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".
Should be considered behavior with Elasticsearch