If you don't need to query based on correlations between associated
values, you can store parallel arrays in separate fields in Solr and
get them back in insertion order. So like this:
https://gist.github.com/mdellabitta/4996336


Michael Della Bitta

------------------------------------------------
Appinions
18 East 41st Street, 2nd Floor
New York, NY 10017-6271

www.appinions.com

Where Influence Isn’t a Game


On Wed, Feb 20, 2013 at 9:38 AM, Danny <daniel.baus...@gmail.com> wrote:
> Ok :)
>
> I'm wondering if it is possible to have arrays of arrays in the response
> structure.
> For example, I can use DataImportHandler to index this XML file :
>
> http://pastebin.com/j2s3iVmk
>
> into this structure :
>
> http://pastebin.com/MJ7YYh0L
>
> But as you can see, in this index I lost the links between "two" elements
> and "one" elements.
> So I'm wondering if there's a way to store data in the index with arrays of
> arrays, which would yield something like this :
>
> http://pastebin.com/j3eY1eVv
>
> or something else, as long as the structure keeps the relations between
> array levels.
>
> Thanks,
> Danny.
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/array-of-array-in-document-response-structure-tp4041494p4041548.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to