For the following situation:
"id" : 1,
"users" : [1001, 2002],
Lets say I search for doc-entries that contains user_id= 1001, is it
possible for elasticsearch to automatically map the user id to the user
object and return something like:
"id" : 1,
"users" : ["a", "b"]
And in this case what happens if you want to search doc-estry using a user
name, could elasticsearch automatically lookup the user id and then search
the name field?
I have a very relation db like way of thinking, what would best practice be
when doing something like this in elasticsearch. Could I solve this by
using natural language as id, e.g. using the user name as id
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 firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6fb2ff7b-528b-41f9-8a21-e324584785fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.