B
B
bio2016-12-22 12:35:03
elasticsearch
bio, 2016-12-22 12:35:03

Elasticsearch what to do if the index group includes nested objects with a field that has the same name, but different data types?

Hello!
I read that in one index there can not be fields with the same name, but with different data types.
Whether it is possible to bypass it somehow?
Object example:

{
    "id": 5
    "user": {
        "group": 1
    },
    "group": {
        "id": 2,
        "name": "test"
    }

}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2016-12-22
@bioforge

As far as I understand, you can - but nothing good will come of it.
tyts
add prefixes. =(

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question