[Koha-bugs] [Bug 22258] Elasticsearch - full record is not indexed in plain text
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 5 10:57:13 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22258
Michal Denar <black23 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #87436|0 |1
is obsolete| |
Attachment #87437|0 |1
is obsolete| |
--- Comment #14 from Michal Denar <black23 at gmail.com> ---
Created attachment 87440
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=87440&action=edit
Bug 22258: Elasticsearch: Add array as an alternative MARC format
Adds preference ElasticsearchMARCFormat that controls whether MARC records are
stored as ISO2709/MARCXML or array. Array is searchable by field and also
indexes all subfields in the _all field for searching.
Test plan:
1. Test that searching and indexing works with the patch without any changes.
2. Switch to array format and index some records.
3. Check e.g. the 008 field of a record and verify that the record can be found
with the contents enclosed in quotes.
4. Check that it's possible to search for a specific field/subfield. Search
query: marc_data_array.fields.655.subfields.a:Diaries
5. Check that tests still pass, especially t/Koha/SearchEngine/Elasticsearch.t
Signed-off-by: Michal Denar <black23 at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list