Need your valuable inputs...

I am indexing data from database (one table) which is in this example
format :
id name value
1 Joe 102724904
2 Joe 100996643

- id is primary/ unique key
- there can be same "name" but different "value"
- If I try "name" as unique key then SOLR removes duplicate and indexes 1
document

- I am getting the result in this format... Is there as way I can index
data in a way so that I can "value" can be child for "name"...
"response": {
    "numFound": 2,
    "start": 0,
    "docs": [
      {
        "id": "1",
        "name": "Joe",
        "value": [
          "102724904"
        ]
      },
      {
        "id": "2",
        "name": "Joe",
        "value": [
          "100996643"
        ]
      }...

Expected format :
    "docs": [
      {
        "name": "Joe",
        "value": [
          "102724904",
  "100996643"
        ]
      }

Reply via email to