[Koha-bugs] [Bug 12478] Elasticsearch support for Koha

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 9 04:18:44 CEST 2015


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

--- Comment #152 from Robin Sheat <robin at catalyst.net.nz> ---
(In reply to Jonathan Druart from comment #150)
> Erk, of course!
> I did not c/p the correct structure I have in my document!

OK, yeah, that's a fair bit better :) But you still have an amount of
duplication, for example when two search fields come from one marc field,
you'll have to repeat the marc field. I don't know if that's good or bad
really, but from a database normalisation point of view, it's bad (not
seriously so though.) 

But between what's there now (including having moved the attributes
appropriately), and what you're suggesting, I don't have particularly strong
feelings. If you think it'll make other parts easier, then go with it. Changing
the schema is pretty easy really, there's only a few places it touches.

(In reply to Jonathan Druart from comment #151)
> Found something else:
> In the sql file you have Heading-main vs Heading-Main. record-source vs
> Record-Source.
> For the first one, it's a typo (both for authorities).
> For the second one (it's a typo too, but), and for Local-number, you have
> the search_field.name which will be mapped with biblios and authorities
> fields.
> 
> Does it make sense in your mind? In mine it's a bit weird (but maybe I need
> a pint).

It's OK to have the same field for authorities and biblios, they're totally
different indices. As for the capitalisation stuff, there was a period when I
wanted everything to be lower case before I discovered that would cause many
things to break. So there may be some leftovers from that. Or just typos. What
really ought to happen is a big go-over where the mapping is generated from
scratch from the zebra files. Probably in an automated fashion.

Mostly these mappings are there to get something functional out of it, it'll be
a bit more work to make them actually correct :)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list