<div dir="ltr"><div><div><div>Hi,<br><br></div>I have installed Elasticsearch after giving up on Zebra. I have follow the the wiki: <a href="https://wiki.koha-community.org/wiki/Elasticsearch#Install_elasticsearch">https://wiki.koha-community.org/wiki/Elasticsearch#Install_elasticsearch</a> and installed latest Elasticsearch through the official repository.<br><br></div>My installed version is:<br><span style="font-family:monospace,monospace">curl -XGET 'localhost:9200' <br>{<br>  "name" : "Her",<br>  "cluster_name" : "elasticsearch",<br>  "cluster_uuid" : "yuU4XtZwT1WtK1SH-3Xofw",<br>  "version" : {<br>    "number" : "2.4.1",<br>    "build_hash" : "c67dc32e24162035d18d6fe1e952c4cbcbe79d16",<br>    "build_timestamp" : "2016-09-27T18:57:55Z",<br>    "build_snapshot" : false,<br>    "lucene_version" : "5.5.2"<br>  },<br>  "tagline" : "You Know, for Search"<br>}<br></span><br></div>I have run the script perl misc/search_tools/<a href="http://rebuild_elastic_search.pl">rebuild_elastic_search.pl</a> -v -d like the documentation says and I have this error:<br><span style="font-family:monospace,monospace">Failed to parse mapping [data]: analyzer on field [Local-number] must be set when search_analyzer is set</span><br><div><br>The log on the elasticsearch.log is<br><br>[<span style="font-family:monospace,monospace">2016-09-28 20:27:55,272][DEBUG][action.admin.indices.create] [Her] [koha_dev_biblios] failed to create<br>MapperParsingException[Failed to parse mapping [data]: analyzer on field [Local-number] must be set when search_analyzer is set]; nested: MapperParsingException[analyzer on field [Local-number] must be set when search_analyzer is set];<br>        at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:291)<br>        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:317)<br>        at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:45)<br>        at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:468)<br>        at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772)<br>        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)<br>        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)<br>        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)<br>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)<br>        at java.lang.Thread.run(Thread.java:745)<br>Caused by: MapperParsingException[analyzer on field [Local-number] must be set when search_analyzer is set]<br>        at org.elasticsearch.index.mapper.core.TypeParsers.parseAnalyzersAndTermVectors(TypeParsers.java:234)<br>        at org.elasticsearch.index.mapper.core.TypeParsers.parseTextField(TypeParsers.java:250)<br>        at org.elasticsearch.index.mapper.core.StringFieldMapper$TypeParser.parse(StringFieldMapper.java:165)<br>        at org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:309)<br>        at org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parseObjectOrDocumentTypeProperties(ObjectMapper.java:222)<br>        at org.elasticsearch.index.mapper.object.RootObjectMapper$TypeParser.parse(RootObjectMapper.java:139)<br>        at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:118)<br>        at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:99)<br>        at org.elasticsearch.index.mapper.MapperService.parse(MapperService.java:549)<br>        at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:319)<br>        at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:289)<br>        ... 9 more<br></span><br></div><div>I'm again at a loss, I believe the problem is on the method: get_elasticsearch_mappings in Koha::ElasticSearch but I don't know how to follow it.!<br><br></div><div>Regards and thank for any help!!<br><br></div><div>Rodrigo<br></div></div>