[Koha-bugs] [Bug 19893] Alternative optimized indexing for Elasticsearch
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Sep 5 17:13:46 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19893
Alex Arnaud <alex.arnaud at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alex.arnaud at biblibre.com
--- Comment #83 from Alex Arnaud <alex.arnaud at biblibre.com> ---
I try to check the difference between the data indexed in ES before and after
this patch.
First, concatenation seems to no longer work. I have the following mapping
author => 700ba
#($b = firstname, $a = lastname).
With Catendu::* libraries, i can read this in ES database:
"author" : [
"Hanna Johansen",
"JohansenHanna",
"MaquetYves-Marie",
"BehndKathi"
],
(There is sometime no space but it's an other problem)
With Koha-specific code:
"author" : [
"Hanna Johansen",
"Johansen",
"Hanna",
"Maquet",
"Yves-Marie",
"Behnd",
"Kathi"
],
Also, there is some difference on the data structure:
Catmendu::* :
"author__suggestion" : [
{
"input" : "Hanna Johansen"
},
{
"input" : "Johansen"
},
{
"input" : "Hanna"
}
],
Koha-specific:
"author__suggestion" : {
"input" : [
"Hanna Johansen",
"JohansenHanna"
]
},
Is this wanted ? What are the consequences?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list