I am not sure I understand what you mean by associate, and the screenshot does not really provide a lot of detail. Could you please explain what you are looking for in some greater detail?
I mean that the "user" property of type token is associated with an index of type "users"
What is usually done in almost always is to put the "id" (in the "user" of type token), but I suppose that elasticsearch has a way of "associating" it. Or not?
And if I have to put the id? What typo would I have to use?
PD: the query that is in the picture is wrong, but I think you understand what I want to do
Please don't post pictures of text, they are difficult to read and some people may not be even able to see them.
You've posted a mapping, not a query. It'd help if you could clarify what you mean there.
I do not understand what you mean. It would be useful if you could provide an example to give us a better idea.