Thursday, March 8, 2018

FW: Indexing nested json

-----Original Message-----
From: kasinger, james [mailto:james.kasinger@nordstrom.com]
Sent: 08 March 2018 22:47
To: solr-user@lucene.apache.org
Subject: Indexing nested json

Hi folks,
Has anyone had success indexing nested json into solr? I know that solr
prefers a flattened representation of the data, but I'm exploring potential
solutions or workarounds for achieving this. Thanks in advance.

For instance I'm indexing this "document" and expect it to be presented in
solr in the same way.

{
"rolledupcolors": [
{
"Name": "BURGUNDY",
"ManiImageUrl":"1/_102069221.jpg",
"AltImageUrl":"3/_102067603.jpg",
"RGB":"",
"ColorFamily":"Red,Purple",
"SwatchImageUrl":"2/_102067602.jpg"
},
{
"Name": "CHARCOAL",
........
}
]
}

James

No comments:

Post a Comment