Re: Can a field be an array of fields?

2016-04-19 Thread Bastien Latard - MDPI AG
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

Re: Can a field be an array of fields?

2016-04-15 Thread Jack Krupansky
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

RE: Can a field be an array of fields?

2016-04-15 Thread Davis, Daniel (NIH/NLM) [C]
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