Koha-clms/Koha/SearchEngine/Elasticsearch
Nick Clemens 120547748d Bug 23521: (follow-up) Add quotes
Not only should terms from facets/limits be grouped, but order should probably matter
We build a different facet for "Dillinger Girl" or "Girl Dillinger"

The parens are possibly overkill now, but I think it makes it very clear and does not hurt

To test:
1 - Follow original plan
2 - Create a new record with 'Girl Dillinger' as author
3 - Search for 'Dill*'
4 - You get all three records (and maybe others that match)
5 - Limit by 'Girl Dillinger' - you get two records
6 - Same for 'Dillinger Girl'
7 - Apply patch
8 - Limits/facets for 'Dillinger Girl' and 'Girl Dillinger' now match a isngle record

Signed-off-by: Ere Maijala <ere.maijala@helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
2020-04-03 17:21:48 +00:00
..
Indexer.pm Bug 23986: Pass strings to Catmandu for deletion 2019-11-11 10:31:53 +00:00
QueryBuilder.pm Bug 23521: (follow-up) Add quotes 2020-04-03 17:21:48 +00:00
Search.pm Bug 22592: Add index scan emulation to Elasticsearch 2019-11-03 07:51:04 +00:00