Thank you Jack and Daniel, I somehow missed your answers.
Yes, I already thought about the JSON possibility, but I was more
concerned of having such structure in result:
"docs":[
{
[...]
"authors_array":
[
[
"given_name":["Bastien"],
"last_name":["last
It all depends on what your queries look like - what input data does your
application have and what data does it need to retrieve.
My recommendation is that you store first name and last name as separate,
multivalued fields if you indeed need to query by precisely a first or last
name, but also st
Short answer - JOINs, external query outside Solr, Elastic Search ;)
Alternatives:
* You get back an id for each document when you query on "Nino". You look
up the last names in some other system that has the full list.
* You index the authors in another collection and use JOINs
* You stor