The get-config task retrieves the index configuration for an application.

The syntax for this task is:

index_config_cmd get-config [-o OwnerName] [-f FileName] 
[-r] [-t precedenceRules|attributes|searchIndexConfig]

Where:

To get the index configuration for an application:

Example 3. Example of getting the index configuration for an application

C:\Endeca\apps\Discover\control>index_config_cmd.bat get-config
[07.23.12 15:50:54] INFO: Using site Discover at URL http://JSMITH-WIN7:8006/
ifcr with username admin
{
  "indexConfig" : {
    "system" : {
      "attributes" : {
        "product.price" : {
          "propertyDataType" : "DOUBLE",
          "jcr:primaryType" : "endeca:property"
        },
        "product.brand.name" : {
          "isRecordSearchEnabled" : true,
          "isAutogen" : true,
          "jcr:primaryType" : "endeca:dimension",
          "multiSelectType" : "OR"
        },
        "product.review.count" : {
          "propertyDataType" : "INTEGER",
          "jcr:primaryType" : "endeca:property"
        },
        "product.sku" : {
          "isRecordSearchEnabled" : true,
          "propertyDataType" : "ALPHA",
          "jcr:primaryType" : "endeca:property"
        },
        "product.id" : {
          "isRecordFilterable" : true,
          "isRecordSearchEnabled" : true,
          "propertyDataType" : "ALPHA",
          "jcr:primaryType" : "endeca:property"
        },
        "camera.color" : {
          "sourcePropertyNames" : [ "camera.Colour of product" ],
          "isAutogen" : true,
          "jcr:primaryType" : "endeca:dimension"
        },
        "product.category" : {
          "sourcePropertyNames" : [ "product.category_id" ],
          "isRecordSearchEnabled" : true,
          "jcr:primaryType" : "endeca:dimension"
        },
        "product.name" : {
          "isRecordSearchEnabled" : true,
          "propertyDataType" : "ALPHA",
          "jcr:primaryType" : "endeca:property"
        },
        "product.features" : {
          "isAutogen" : true,
          "jcr:primaryType" : "endeca:dimension",
          "multiSelectType" : "AND"
        },
        "product.min_price" : {
          "derivedPropertySource" : "product.price",
          "derivedPropertyFunction" : "MIN",
          "jcr:primaryType" : "endeca:derivedProperty"
        },
        "product.price_range" : {
          "sourcePropertyNames" : [ "product.price" ],
          "rangeComparisonType" : "FLOAT",
          "jcr:primaryType" : "endeca:dimension"
        },
        "common.id" : {
          "isRecordFilterable" : true,
          "propertyDataType" : "ALPHA",
          "jcr:primaryType" : "endeca:property"
        },
       ...
      },
      "precedenceRules" : {
      },
      "searchIndexConfig" : {
        "spellingDictMinNumWordOccurrences" : 4,
        "spellingDictMaxWordLength" : 16,
        "isWildcardEnabledInDimensionSearch" : true,
        "spellingDictMinWordLength" : 3
      }
    }
  }
}



Copyright © Legal Notices