Hi
I am using ES-0.90.0.RC2
I created an index "test" in ES , with 5 shards and 1 replica.
I am trying to delete a mapping in ES .
When i issue the delete command
http://192.168.145.144:9200/test/content/_mapping through REST Client,
with method as DELETE , it returns the status
{"ok":true}
After checking through the stats/status api, it reflects logically deleted
documents, but no reduction in size .Size remains same on the physical disk
as well.
So i tried optimizing the index, with command
http://192.168.145.144:9200/test/_optimize?only_expunge_deletes=true
through the REST Client, with method as get , and it returns status
{"ok":true,"_shards":{"total":10,"successful":10,"failed":0}}
But, on the ES console , it shows Some exception for each primary shard.
Still , on checking the status/stats API , size is still the same (before
deletion) and on physical disk as well.
Please help me out , as am not able to figure out exactly where am i going
wrong.
Thanks in Advance
Tarang Dawer
[2013-06-14 13:48:44,457][WARN ][index.engine.robin ] [Dreamqueen]
[test][4] failed engine
org.apache.lucene.index.MergePolicy$MergeException:
org.elasticsearch.ElasticSearchIllegalStateException: no index mapper found
for field: [content]
at
org.elasticsearch.index.merge.scheduler.ConcurrentMergeSchedulerProvider$CustomConcurrentMergeScheduler.handleMergeException(ConcurrentMergeSchedulerProvider.java:100)
at
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:514)
Caused by: org.elasticsearch.ElasticSearchIllegalStateException: no index
mapper found for field: [content]
at
org.elasticsearch.index.codec.PerFieldMappingPostingFormatCodec.getPostingsFormatForField(PerFieldMappingPostingFormatCodec.java:52)
at
org.apache.lucene.codecs.lucene42.Lucene42Codec$1.getPostingsFormatForField(Lucene42Codec.java:59)
at
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsWriter.addField(PerFieldPostingsFormat.java:102)
at
org.apache.lucene.codecs.FieldsConsumer.merge(FieldsConsumer.java:71)
at
org.apache.lucene.index.SegmentMerger.mergeTerms(SegmentMerger.java:383)
at
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:116)
at
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3693)
at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3296)
at
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:401)
at
org.apache.lucene.index.TrackingConcurrentMergeScheduler.doMerge(TrackingConcurrentMergeScheduler.java:91)
at
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:478)
[2013-06-14 13:48:44,522][WARN ][cluster.action.shard ] [Dreamqueen]
sending failed shard for [test][4], node[p4Ik84RrSGqJ6pPcknvyUw], [P],
s[STARTED], reason [engine failure, message
[MergeException[org.elasticsearch.ElasticSearchIllegalStateException: no
index mapper found for field: [content]]; nested:
ElasticSearchIllegalStateException[no index mapper found for field:
[content]]; ]]
[2013-06-14 13:48:44,522][WARN ][cluster.action.shard ] [Dreamqueen]
received shard failed for [test][4], node[p4Ik84RrSGqJ6pPcknvyUw], [P],
s[STARTED], reason [engine failure, message
[MergeException[org.elasticsearch.ElasticSearchIllegalStateException: no
index mapper found for field: [content]]; nested:
ElasticSearchIllegalStateException[no index mapper found for field:
[content]]; ]]
Exception in thread "elasticsearch[Dreamqueen][[test][4]: Lucene Merge
Thread #0]" org.apache.lucene.index.MergePolicy$MergeException:
org.elasticsearch.ElasticSearchIllegalStateException: no index mapper found
for field: [content]
at
org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:541)
at
org.elasticsearch.index.merge.scheduler.ConcurrentMergeSchedulerProvider$CustomConcurrentMergeScheduler.handleMergeException(ConcurrentMergeSchedulerProvider.java:101)
at
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:514)
Caused by: org.elasticsearch.ElasticSearchIllegalStateException: no index
mapper found for field: [content]
at
org.elasticsearch.index.codec.PerFieldMappingPostingFormatCodec.getPostingsFormatForField(PerFieldMappingPostingFormatCodec.java:52)
at
org.apache.lucene.codecs.lucene42.Lucene42Codec$1.getPostingsFormatForField(Lucene42Codec.java:59)
at
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsWriter.addField(PerFieldPostingsFormat.java:102)
at
org.apache.lucene.codecs.FieldsConsumer.merge(FieldsConsumer.java:71)
at
org.apache.lucene.index.SegmentMerger.mergeTerms(SegmentMerger.java:383)
at
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:116)
at
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3693)
at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3296)
at
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:401)
at
org.apache.lucene.index.TrackingConcurrentMergeScheduler.doMerge(TrackingConcurrentMergeScheduler.java:91)
at
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:478)
--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.