[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 Aug 23 16:47:06 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22258

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #87440|0                           |1
        is obsolete|                            |
  Attachment #87441|0                           |1
        is obsolete|                            |

--- Comment #18 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 92451
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=92451&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>

Signed-off-by: Michal Denar <black23 at gmail.com>

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

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


More information about the Koha-bugs mailing list