Hi I have mapping like below.

{
    "field": {
        "type": "object",
        "properties": {
            "subfield": {
                "type": "string",
               * "position_offset_gap": 500*
            }
        },
        "*position_offset_gap": 500000*
    }
}

I insert document like

{"field" : [{"subfield" : ["foo"], ["bar"]}, {"subfield" : ["baz"]}]}

I would expect that positions should be like below:

foo - 1
bar - 502
baz - 500503

But I'm afraid ES see

foo - 1
bar - 502
baz - 1003

Can you explain me how it should work in this case?

--
Paweł Róg

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAF9ZkbPNWJ%3DyOXOm1vYE%2BfKLtm6Niv0JSzE1y%3DLvHc6EudFCUw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to