Reindex Error


#1

Hi,
I'm trying to reindex a 1.7.0 kibana index to 2.4.6 via the elasticsearch-migration plugin and am seeing the following error:

PUT /.kibana-2.4.6 failed with [400] Mapping definition for [_size] has unsupported parameters: [store : true]: {}

The mapping for _size looks like this:

"_size" : {
      "store" : true
    },

How can I get the renidex to complete?

Regards,
D


(David Pilato) #2

_size has been replaced as a plugin in 2.x series.

https://www.elastic.co/guide/en/elasticsearch/reference/2.4/breaking_20_removed_features.html#_literal__size_literal_is_now_a_plugin

So if you are using it, you might have to install this may be.

I'm not familiar with that though and I don't recall how the migration plugin worked.

May be you could remove the field _size from the mapping?


#3

I have mapper_size already installed. How do i remove this field from the mapping?


(David Pilato) #4

I guess you need to do something like:

DELETE .kibana-2.4.6
PUT .kibana-2.4.6/_mapping
{
  // Your mapping here
}

And then copy again the data from your old index to the new one.
But I'm really unsure here and I think you should better ask this in #kibana channel though.

May be move this thread there? (I can do it for you if you can't).


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.