"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"mapper [hash] has different [index] values from other types of the same index"
So then try setting the vector field to string, which gets set to text by 5.6 as it seems like string is deprecated, but keeping the hash field as type minhash, and get the following error:
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"mapper [hash] has different [index] values from other types of the same index"}],"type":"illegal_argument_exception","reason":"mapper [hash] has different [index] values from other types of the same index"}
So then I try setting the hash field to string as well, and this at least lets me create the mapping, but then when I go to push some data, I get:
"error" : {
"type" : "illegal_argument_exception",
"reason" : "first position increment must be > 0 (got 0) for field 'hash'"
}
I've tried a few combinations of things in 5.6 without much luck. First I tried:
and get:
"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"mapper [hash] has different [index] values from other types of the same index"
So then try setting the
vector
field tostring
, which gets set totext
by 5.6 as it seems likestring
is deprecated, but keeping thehash
field as typeminhash
, and get the following error:{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"mapper [hash] has different [index] values from other types of the same index"}],"type":"illegal_argument_exception","reason":"mapper [hash] has different [index] values from other types of the same index"}
So then I try setting the
hash
field tostring
as well, and this at least lets me create the mapping, but then when I go to push some data, I get:Any ideas would be much appreciated!
Thanks so much