Maybe your custom autocomplete isn't work.
I see that:
index.analysis.analyzer.autocomplete:
type: custom
tokenizer: whitespace
filter: lowercase#, auto_edge_ngram
Maybe you should remove # and restart your es server.
After that please check your log whether ES start right.
On Wednesday, December 18, 2013 11:09:41 AM UTC-8, Joshua Corb wrote:
>
> We are running into an issue where we are getting mapping issues. We are
> have tried on both Ubuntu and OSX. We are using java 1.7. Attached is our
> node configuration, and below is the error we are getting.
>
> 11:12:47,856 WARN [org.elasticsearch.indices.cluster]
> (elasticsearch[Nemesis][clusterService#updateTask][T#1]) [Nemesis] [need]
> failed to add mapping [need], source
> [{"need":{"properties":{"defaultTextValue":{"type":"string"},"description":{"type":"string"},"endDate":{"type":"string"},"id":{"type":"string"},"imageURL":{"type":"string"},"location":{"type":"geo_point"},"mainCategory":{"type":"string","store":true,"index_analyzer":"keyword"},"postDate":{"type":"string"},"subCategory":{"type":"string","store":true,"index_analyzer":"keyword"},"tags":{"type":"string","store":true,"index_analyzer":"keyword"},"title":{"type":"multi_field","fields":{"title":{"type":"string"},"title.autocomplete":{"type":"string","store":true,"index_analyzer":"autocomplete","search_analyzer":"autocomplete_search","include_in_all":false},"title.untouched":{"type":"string","index":"not_analyzed","omit_norms":true,"index_options":"docs","include_in_all":false}}},"user":{"type":"string","store":true,"index_analyzer":"keyword"},"version":{"type":"long"}}}}]:
>
> org.elasticsearch.index.mapper.MapperParsingException: Analyzer
> [autocomplete] not found for field [title.autocomplete]
> at
> org.elasticsearch.index.mapper.core.TypeParsers.parseField(TypeParsers.java:107)
>
> [elasticsearch-0.90.7.jar:]
> at
> org.elasticsearch.index.mapper.core.StringFieldMapper$TypeParser.parse(StringFieldMapper.java:150)
>
> [elasticsearch-0.90.7.jar:]
> at
> org.elasticsearch.index.mapper.multifield.MultiFieldMapper$TypeParser.parse(MultiFieldMapper.java:130)
>
> [elasticsearch-0.90.7.jar:]
> at
> org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:263)
>
> [elasticsearch-0.90.7.jar:]
> at
> org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parse(ObjectMapper.java:219)
>
> [elasticsearch-0.90.7.jar:]
> at
> org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:176)
>
> [elasticsearch-0.90.7.jar:]
> at
> org.elasticsearch.index.mapper.MapperService.parse(MapperService.java:314)
> [elasticsearch-0.90.7.jar:]
> at
> org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:193)
> [elasticsearch-0.90.7.jar:]
> at
> org.elasticsearch.indices.cluster.IndicesClusterStateService.processMapping(IndicesClusterStateService.java:417)
>
> [elasticsearch-0.90.7.jar:]
> at
> org.elasticsearch.indices.cluster.IndicesClusterStateService.applyMappings(IndicesClusterStateService.java:381)
>
> [elasticsearch-0.90.7.jar:]
> at
> org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged(IndicesClusterStateService.java:179)
>
> [elasticsearch-0.90.7.jar:]
> at
> org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:414)
>
> [elasticsearch-0.90.7.jar:]
> at
> org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:135)
>
> [elasticsearch-0.90.7.jar:]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> [rt.jar:1.7.0_45]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> [rt.jar:1.7.0_45]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
>
>
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/86b7430c-574f-4110-b4ae-948ec1329c89%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.