Upgradation to 0.90.0 giving "No index mapper" Exception on every new field being indexed

 Hi,
     
         I just upgraded my Elasticsearch from 0.20.6 to 0.90.0 for 

sorting on multivalued fields. Then my nodes health starting gone red when
data was indexed to elasticsearch. error log showing an exception:

[2013-05-13 08:24:37,404][WARN ][cluster.action.shard ] [Americop]
received shard failed for [es_15][1], node[vB8PJYecR1W3zCd-Cke2Kg], [P],
s[STARTED], reason [engine failure, message
[MergeException[org.elasticsearch.ElasticSearchIllegalStateException: no
index mapper found for field:
[fav_metadata.fav_local_media_person_id.count]]; nested:
ElasticSearchIllegalStateException[no index mapper found for field:
[fav_metadata.fav_local_media_person_id.count]]; ]]

When i added the missing mapping it started working fine. and then it gave
the same error on another field. As far as I know, Elasticsearch adds the
dynamic mappings if mappings are not executed. Then this error should not
be there.

Please help me understand this logic. Because i have so many dynamic
created field. And I can not create all of the mappings manually.

--
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.

Hi Narinder

Use ignore_unmapped:

curl -XGET 'http://127.0.0.1:9200/_all/_search?pretty=1' -d '
{
"sort" : [
{
"my_field" : {
"ignore_unmapped" : 1,
"mode" : "min",
"order" : "asc"
}
}
]
}
'

On 15 May 2013 07:10, NarinderKaur Makkar narinderkaurmakkar1@gmail.comwrote:

 Hi,

         I just upgraded my Elasticsearch from 0.20.6 to 0.90.0 for

sorting on multivalued fields. Then my nodes health starting gone red when
data was indexed to elasticsearch. error log showing an exception:

[2013-05-13 08:24:37,404][WARN ][cluster.action.shard ] [Americop]
received shard failed for [es_15][1], node[vB8PJYecR1W3zCd-Cke2Kg], [P],
s[STARTED], reason [engine failure, message
[MergeException[org.elasticsearch.ElasticSearchIllegalStateException: no
index mapper found for field:
[fav_metadata.fav_local_media_person_id.count]]; nested:
ElasticSearchIllegalStateException[no index mapper found for field:
[fav_metadata.fav_local_media_person_id.count]]; ]]

When i added the missing mapping it started working fine. and then it gave
the same error on another field. As far as I know, Elasticsearch adds the
dynamic mappings if mappings are not executed. Then this error should not
be there.

Please help me understand this logic. Because i have so many dynamic
created field. And I can not create all of the mappings manually.

--
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.

--
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.