The get-merged-config task retrieves the merged index configuration for an application. In other words, the output of this task is the consolidated index configuration for all import owners.

This task is primarily used as a debugging tool to troubleshoot configuration and data issues in the MDEX-compatible output files produced by a CAS crawl.

In some ways, the get-merged-config task is logically similar to get-config task with the owner option (-o) set to all. However, there are several important differences between the two tasks:

The syntax for this task is:

index_config_cmd get-merged-config [-f FileName] 
[-t precedenceRules|attributes|searchIndexConfig]

Where:

To get the merged index configuration for an application:

Example 4. Example of getting the merged index configuration for an application

C:\Endeca\apps\Discover\control>index_config_cmd.bat get-merged-config
[08.17.12 11:48:05] INFO: Using site Discover at URL http://JSMITH-WIN7:8006/
ifcr with username admin
{
  "indexConfig" : {
    "attributes" : {
      "product.price" : {
        "propertyDataType" : "DOUBLE",
        "jcr:primaryType" : "endeca:property"
      },
      "product.brand.name" : {
        "isRecordSearchEnabled" : true,
        "isAutogen" : true,
        "jcr:primaryType" : "endeca:dimension",
        "multiSelectType" : "OR"
      },
      "product.sku" : {
        "isRecordSearchEnabled" : true,
        "propertyDataType" : "ALPHA",
        "jcr:primaryType" : "endeca:property"
      },
      "product.id" : {
        "isRecordFilterable" : true,
        "isRecordSearchEnabled" : true,
        "propertyDataType" : "ALPHA",
        "jcr:primaryType" : "endeca:property"
      },
      "camera.megapixel_range" : {
        "sourcePropertyNames" : [ "camera.Megapixel" ],
        "rangeComparisonType" : "FLOAT",
        "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.code" : {
        "isRollupKey" : true,
        "isRecordSearchEnabled" : true,
        "jcr:primaryType" : "endeca:property",
        "propertyDataType" : "ALPHA"
      },
      "product.price_range" : {
        "sourcePropertyNames" : [ "product.price" ],
        "rangeComparisonType" : "FLOAT",
        "jcr:primaryType" : "endeca:dimension"
      },
      "product.max_price" : {
        "derivedPropertySource" : "product.price",
        "derivedPropertyFunction" : "MAX",
        "jcr:primaryType" : "endeca:derivedProperty"
      },
      "product.long_desc" : {
        "isRecordSearchEnabled" : true,
        "propertyDataType" : "ALPHA",
        "jcr:primaryType" : "endeca:property"
      },
      "product.short_desc" : {
        "isRecordSearchEnabled" : true,
        "propertyDataType" : "ALPHA",
        "jcr:primaryType" : "endeca:property"
      },
    ...
    },
    "precedenceRules" : {
    },
    "searchIndexConfig" : {
      "spellingDictMinNumWordOccurrences" : 4,
      "spellingDictMaxWordLength" : 16,
      "isWildcardEnabledInDimensionSearch" : true,
      "spellingDictMinWordLength" : 3
    }
  }
}



Copyright © Legal Notices