Here is my info: Koha: 18.11.01 ElasticSearch Installed: 5.16.14 When I ran /usr/share/koha/bin/search_tools/rebuild_elastic_search.pl -v -d and I got this from Elasticsearch log. Is this a similar issue found on https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20073? [2019-02-11T00:48:26,174][DEBUG][o.e.a.b.TransportShardBulkAction] [1rMdLEo] [koha_kohaInstance_biblios][4] failed to execute bulk item (index) BulkShardRequest [[koha_acccnlib_biblios][4]] containing [9] requests org.elasticsearch.index.mapper.MapperParsingException: failed to parse at org.elasticsearch.index.mapper.DocumentParser.wrapInMapperParsingException(DocumentParser.java:176) ~[elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.index.mapper.DocumentParser.parseDocument(DocumentParser.java:69) ~[elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:277) ~[elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.index.shard.IndexShard.prepareIndex(IndexShard.java:530) ~[elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.index.shard.IndexShard.prepareIndexOnPrimary(IndexShard.java:507) ~[elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.bulk.TransportShardBulkAction.prepareIndexOperationOnPrimary(TransportShardBulkAction.java:458) ~[elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.bulk.TransportShardBulkAction.executeIndexRequestOnPrimary(TransportShardBulkAction.java:466) ~[elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.bulk.TransportShardBulkAction.executeBulkItemRequest(TransportShardBulkAction.java:145) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:114) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:69) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryShardReference.perform(TransportReplicationAction.java:975) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryShardReference.perform(TransportReplicationAction.java:944) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.support.replication.ReplicationOperation.execute(ReplicationOperation.java:113) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.support.replication.TransportReplicationAction$AsyncPrimaryAction.onResponse(TransportReplicationAction.java:345) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.support.replication.TransportReplicationAction$AsyncPrimaryAction.onResponse(TransportReplicationAction.java:270) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.support.replication.TransportReplicationAction$1.onResponse(TransportReplicationAction.java:924) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.support.replication.TransportReplicationAction$1.onResponse(TransportReplicationAction.java:921) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.index.shard.IndexShardOperationsLock.acquire(IndexShardOperationsLock.java:151) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.index.shard.IndexShard.acquirePrimaryOperationLock(IndexShard.java:1659) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.support.replication.TransportReplicationAction.acquirePrimaryShardReference(TransportReplicationAction.java:933) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.support.replication.TransportReplicationAction.access$500(TransportReplicationAction.java:92) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.support.replication.TransportReplicationAction$AsyncPrimaryAction.doRun(TransportReplicationAction.java:291) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14] at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryOperationTransportHandler.messageReceived(TransportReplicationAction.java:266) [elasticsearch-5.6.14.jar:5.6.14] Thanks, C Hong
Reaching out to Ere as the Topic Expert this cycle.. Nothing stood out to me at a glance.
Have you tried resetting the index mappings (Koha administration => Search engine configuration)?
(In reply to Ere Maijala from comment #2) > Have you tried resetting the index mappings (Koha administration => Search > engine configuration)? Yes. And I upgraded elasticsearch to 5.6.16 and it seemed like the issue is gone. But I found a problem of searching the catalog. If I enter a barcode to be searched, it finds no result. If I search the catalog using a word, it can find results. My question is how to configure Elasticsearch that it can be searched by barcode? In Search engine configuration, I don't see barcode is parts of Search Fields. Thanks.
I spent a few hours testing on searching barcode. I can search the catalog by barcode. However, it cannot find the barcode of the books that I entered recently. It returned no result found. This is a different issue.