ECR - Endeca Configuration Respository
use to store configurations related to guided search
host tools from the workbench such as exp man
index-config-cmd.bat
located in control
view and modify index configuration
tasks
get-config
set-config
delete-owner
get-merged-config
index_config_cmd.bat set-config -o all -f c:\Endeca\Apps\NewDiscover\config\index_config\index-config.json
index_config_cmd.bat get-config -o all -f c:\temp\config.json
index_config_cmd.bat get-config -o system -t attributes
index-config.json
attributes
jcr:primaryType
endeca:property
endeca:derviedProperty
endeca:dimension
property attributes
isEnabled
isRecordFilterable
isRecordSearchEnabled
isRollupKey
isWildcardEnabledInRecordSearch
mergeAction - Adds or updates
propertyDataType
alpha
integer
double
geocode
datetime
duration
time
sourcePropertyNames
empty - no property map to this field
if single value - the source property has its value map to the proprety
if multi-value - each source property in the list will have its value map to the property
omited - source property has its value mapped to a property of the same name.
derivedProperty
property calculated by apply a function to a property or dimension value
MIN, MAX, SUM, AVG
The specificed property/dimension must be an aggregated type and have isRollupKey = true
attributes
derivedPropertySource
derivedPropertyFunction
dimension
attributes
displayOrder
isAutogen
isEnabled
isHierarchicalDimensionSearchEnabled
isHierarchicalRecordSearchEnabled
isRecordSearchEnabled
isWildcardEnabledInRecordSearch
multiSelectType - NONE, AND, OR
rangeComparisonType
sourcePropertyNames
precedenceRules
"precedenceRules" : {
"cameraMegapixels" : {
"targetDimension" : "product.features",
"triggerDimension" : "product.category",
"triggerDimensionValueSpec" : "575"
}
},
searchIndexConfig
"searchIndexConfig" : {
"isWildcardEnabledInDimensionSearch" : true,
"spellingDictMaxWordLength" : 16,
"spellingDictMinNumWordOccurrences" : 4,
"spellingDictMinWordLength" : 3
}
recsearch_config.xml - defines search interface, snippet
search interface
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE RECSEARCH_CONFIG SYSTEM "recsearch_config.dtd">
<RECSEARCH_CONFIG>
<SEARCH_INTERFACE CROSS_FIELD_BOUNDARY="ALWAYS" CROSS_FIELD_RELEVANCE_RANK="0" DEFAULT_RELRANK_STRATEGY="All_Relrank" NAME="All">
<MEMBER_NAME RELEVANCE_RANK="6">product.name</MEMBER_NAME>
<MEMBER_NAME RELEVANCE_RANK="5">product.brand.name</MEMBER_NAME>
<MEMBER_NAME RELEVANCE_RANK="4">product.features</MEMBER_NAME>
<MEMBER_NAME RELEVANCE_RANK="3">product.category</MEMBER_NAME>
<MEMBER_NAME RELEVANCE_RANK="2">camera.colour_of_product</MEMBER_NAME>
<MEMBER_NAME RELEVANCE_RANK="1" SNIPPET_SIZE='25'>product.long_desc</MEMBER_NAME>
</SEARCH_INTERFACE>
<SEARCH_INTERFACE CROSS_FIELD_BOUNDARY="NEVER" CROSS_FIELD_RELEVANCE_RANK="0" DEFAULT_RELRANK_STRATEGY="" NAME="Features Only">
<MEMBER_NAME RELEVANCE_RANK="4">product.features</MEMBER_NAME>
</SEARCH_INTERFACE>
</RECSEARCH_CONFIG>
relrank_strategies.xml
<RELRANK_STRATEGY NAME="All_Relrank">
<RELRANK_NTERMS/>
<RELRANK_MAXFIELD/>
</RELRANK_STRATEGY>