You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Jeffrey (JIRA)" <ji...@apache.org> on 2015/09/18 18:03:04 UTC

[jira] [Created] (USERGRID-1026) Logic to detect (N+1)-d arrays catches a case where there is no 2-d array

Jeffrey  created USERGRID-1026:
----------------------------------

             Summary: Logic to detect (N+1)-d arrays catches a case where there is no 2-d array
                 Key: USERGRID-1026
                 URL: https://issues.apache.org/jira/browse/USERGRID-1026
             Project: Usergrid
          Issue Type: Story
            Reporter: Jeffrey 


This entity is not fully indexed with the error message below.  It does not have a (direct) 2-d array.  It does have nested arrays, however.

2015-09-18 03:20:28,190 [Usergrid-RxIOPool-151] WARN  org.apache.usergrid.persistence.index.impl.EntityMappingParser- Encountered 2 collections consecutively.  N+1 dimensional arrays are unsupported, only arrays of depth 1 are supported
{
   "type" : "example",
   "name" : "8980031",
   "created" : 1442527975706,
   "modified" : 1442547269098,
   "FacilityName" : "ALICES RESTAURANT",
   "LastUpdateOn" : "9/17/2015",
   "Locations" : [ {
     "Addresses" : [ {
       "Zip" : "94062",
       "AddressLine1" : "17288 Skyline Blvd",
       "LatNbr" : "37.386916",
       "LongNbr" : "-122.265383",
       "State" : "CA",
       "AddrUseCd" : "PH",
       "City" : "WOODSIDE"
     } ],
     "Phones" : [ {
       "PhnUseCd" : "PH",
       "PhoneNbr" : "123-456-3534"
     } ],
     "LocSeq" : "1",
     "PracLocStrtDt" : "1/1/9999",
     "PracLocEndDt" : "3/31/9999",
     "Accepting" : false,
     "PracLocSpecialties" : [ {
       "SpcltyPrimInd" : "Y",
       "SpcltyDsc" : "PANCAKES",
       "SpcltyCd" : "BRKF"
     } ]
   } ],
   "TheId" : 8980031,
   "ProviderType" : "FAC",
   "PvdrEndDt" : "3/31/2008",
   "PvdrSpecialties" : [ {
     "SpcltyPrimInd" : "Y",
     "SpcltyDsc" : "PANCAKES",
     "SpcltyCd" : "BRKF"
   } ]
 }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)