FieldStructure

Specifies how to send subfield and field attribute data to Vertica.

You can choose one of the following options:

Option Description
Flattened The information is flattened.
Nested

Attributes and subfields are not flattened, instead they are represented as nested JSON objects.

Use this mode to preserve the original structure of your documents. IDOL documents can have multiple fields with the same name. Sending information in nested mode means that it is possible to see which field a sub-field or attribute was attached to.

The following is an example of flattened metadata, from an Image Server analysis task. The line page.persontask.person.facelocation.angle contains three sub-field values:

"page.persontask" : "", 
"page.persontask.person" : "", 
"page.persontask.person.facelocation" : "", 
"page.persontask.person.facelocation.angle" : "11.9356031, -11.784749, -12.7712431",
...

The following is the same data represented by nested JSON objects:

{
   "page":
   {
      "persontask":
      [
         {
         "person":
            {
            "facelocation" : 
               {
               "angle": 11.9356031
               ...
               }
            }
         }
         {
         "person":
            {
            "facelocation":
               {
               "angle": -11.784749
               ...
               }
            }
         }
      ...
Type: String
Default: Flattened
Required: No
Configuration Section: Any section specified by IndexerSectionN or Indexing
Example: FieldStructure=Nested
See Also:  

_HP_HTML5_bannerTitle.htm