When defining a composite index, e.g.
create table temptable (id integer, id2 integer, name string, INDEX ci using plain(id2, id));
The id and id2 are indexed in elasticsearch using integer, but the I see from ES's _mapping is like:
"ci" : {
"type" : "string",
"analyzer" : "standard"
},
Where both id and id2 are copied to ci with type "string".
Can you explain more about this (like the order preserved) and probably a bit more the whole composite index thing in crate data?