I need to know how I can retrieve a complex field from elasticsearch using java api in a bool query, the field look like:
author: {
"es": { [ {"name" : "Name 1" , "alias" : "alias1" },
{"name" : "Name 2" , "alias" : "alias2" }]
}
}
Should I change my mapping? "author" is a field in my elasticsearch index