This discussion is archived
2 Replies Latest reply: Sep 7, 2012 1:37 AM by Michael Peel RSS

How to add new Dimension value with existing sets?

958951 Newbie
Currently Being Moderated
All,

I am new to Endeca s/w. All the existing dimension value are in xml file.I want to know how to add new dimension value with the existing sets and it should get reflected in endeca jsp ref application. I dont have Developer Studio installed in our unix server. Can any one provide the steps or tutorial to add new dimensions value with mappings without using developer studio.

Looking for your inputs.

Thanks
Sriram
  • 1. Re: How to add new Dimension value with existing sets?
    939490 Newbie
    Currently Being Moderated
    Hi,

    Modify the Dimension.xml file and pipeline.epx as shown below for the new dimension/dimension value which needs to be added.

    Normal Dimension
    =================
    <DIMENSION NAME="Color" SRC_TYPE="INTERNAL">
    <DIMENSION_ID ID="123"/>
    <DIMENSION_NODE>
    <DVAL TYPE="EXACT">
    <DVAL_ID ID="123"/>
    <SYN CLASSIFY="TRUE" DISPLAY="TRUE" SEARCH="TRUE">Color</SYN>
    </DVAL>
    <DIMENSION_NODE>
    <DVAL TYPE="EXACT">
    <DVAL_ID ID="124"/>
    <SYN CLASSIFY="TRUE" DISPLAY="TRUE" SEARCH="TRUE">Red</SYN>
    </DVAL>
    </DIMENSION_NODE>
    <DIMENSION_NODE>
    <DVAL TYPE="EXACT">
    <DVAL_ID ID="125"/>
    <SYN CLASSIFY="TRUE" DISPLAY="TRUE" SEARCH="TRUE">Blue</SYN>
    </DVAL>
    </DIMENSION_NODE>
    </DIMENSION_NODE>
    </DIMENSION>

    AutoGenerated Dimension
    =======================
    <DIMENSION NAME="Country" SRC_TYPE="AUTOGEN">
    <DIMENSION_ID ID="200"/>
    <DIMENSION_NODE>
    <DVAL TYPE="EXACT">
    <DVAL_ID ID="200"/>
    <SYN CLASSIFY="FALSE" DISPLAY="TRUE" SEARCH="FALSE">Country</SYN>
    </DVAL>
    </DIMENSION_NODE>
    </DIMENSION>

    Mapping to be added in pipeline.epx
    ===================================
    </PROP_MAPPER>
         <PROP_MAPPING_DIM MATCH_MODE="NORMAL" MAX_LENGTH="0" PROP_NAME="Color" TARGET_NAME="Color"/>
    <PROP_MAPPING_DIM MATCH_MODE="AUTO_GEN" MAX_LENGTH="0" PROP_NAME="Country" TARGET_NAME="Country"/>
    </PROP_MAPPER>

    Running the Baseline Update with above modification in pipeline should add the new dimension/dimension value to your search indexes.

    Edited by: Praveen Dohe on Sep 6, 2012 11:45 PM

    Edited by: Praveen Dohe on Sep 6, 2012 11:45 PM
  • 2. Re: How to add new Dimension value with existing sets?
    Michael Peel Journeyer
    Currently Being Moderated
    Install Developer Studio to your PC.
    Copy the pipeline from the server to your PC.
    Edit the pipeline in Developer Studio.
    Copy the pipeline back to the server.

    You don't want to be editing the xml files directly, you'll make a mistake sooner or later.

    Michael

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points