epugh commented on PR #2114:
URL: https://github.com/apache/solr/pull/2114#issuecomment-1841348101

   Okay, so I see that `cat` is duplicated because it's a multivalued field, so 
we get:
   ```
         "cat":{
           "type":"string",
           "schema":"I-S-UM----OF-----l",
           "flags":"ITS-------OF------",
           "value":"electronics",
           "internal":"electronics",
           "docFreq":12
         },
         "cat":{
           "type":"string",
           "schema":"I-S-UM----OF-----l",
           "flags":"ITS-------OF------",
           "value":"memory",
           "internal":"memory",
           "docFreq":3
         },
   ```
   
   Shouldn't this instead be instead an array of values for the `cat` key?   I 
know this changes things...:
         "cat":[{
           "type":"string",
           "schema":"I-S-UM----OF-----l",
           "flags":"ITS-------OF------",
           "value":"electronics",
           "internal":"electronics",
           "docFreq":12
         },
         {
           "type":"string",
           "schema":"I-S-UM----OF-----l",
           "flags":"ITS-------OF------",
           "value":"memory",
           "internal":"memory",
           "docFreq":3
         }],


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to