Просмотр исходного кода

Bug 17373: Add mappings for unimarc authorities - Match index

Test plan:

1. apply patches

2. switch  SearchEngine syspref to ElasticSearch

3. load new mapping
(admin/searchengine/elasticsearch/mappings.pl?op=reset&i_know_what_i_am_doing=1)

4. load some unimarc authorities like the sample attached to bug 17373

5. reindex authorities
(./misc/search_tools/rebuild_elastic_search.pl -d -a -v)

6. search entire notice for shalev or שלו

7. you should find stuff

Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr>

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
18.05.x
Alex Arnaud 3 лет назад
коммит произвёл Jonathan Druart
Родитель
Сommit
199c2f33d9
  1. 235
      admin/searchengine/elasticsearch/mappings.yaml

235
admin/searchengine/elasticsearch/mappings.yaml

@ -372,6 +372,241 @@ authorities:
marc_type: normarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 2003478abcdfgjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 2103478abcdefghxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 21578ajxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 216378acfjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 220378afjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 2308abhijklmqrsuwxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 235378abeijkmratsuwxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 2408abcfjtxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 245ajtxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 2508abcdjvxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 260378abcd
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 280378ajxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 4000234568abcdfgjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 41002345678abcdefghjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 4150235678ajxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 416acfjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 420afjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 4300235678abhijklmnqrsuwxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 4350235678abejkmrsuwxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 4400235678abcdfjtxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 445ajtxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 4500235678ajxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 460abcd
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 480ajxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 500023456789abcdfgjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 51002345678abcdefghjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 5150356789ajxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 5169acfjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 5209afjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 53002356789abhijklmnqrsuwxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 53502356789abjkmqrsuwxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 5400235678ajtxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 5459ajtxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 55002356789abjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 56059abcd
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 58059ajxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 70023478abcdfgjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 71023478abcdefghjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 7152378ajxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 716acfjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 720afjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 7302378abhijklmnqrsuwxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 7402378ajtxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 745378ajtxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 75023789abjxyz
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 760abcd
marc_type: unimarc
sort: ~
suggestible: ''
- facet: ''
marc_field: 780ajxyz
marc_type: unimarc
sort: ~
suggestible: ''
type: ''
Match-heading:
label: Match-heading

Загрузка…
Отмена
Сохранить