Using the SH sample data

A Sales History data set is supplied as a sample data set for an Endeca data domain.

The SH (Sales History) data set is used by a sample company that does a high volume of business. It therefore runs business statistics reports to aid in decision making. Many of these reports are time-based and nonvolatile (that is, they analyze past data trends). The statistics in the SH data set include annual, quarterly, monthly, and weekly sales figures by product. The company also runs reports on distribution channels through which its sales are delivered. When the company runs special promotions on its products, it analyzes the impact of the promotions on sales. It also analyzes sales by geographical area.

The SH data set is ready for use out of the box because the files have already been indexed by the Endeca Server. This eliminates the need to load source records into the Endeca Server.

Before you can use the Endeca data domain configured for the SH data set, place the SH indexed files into the offline directory of the Endeca Server and import them into a newly-created Endeca data domain.

To unpack and use the sample data files:

  1. Unpack the sample data ZIP file to a directory of your choice.

    A directory named sh_indexes is created.

  2. Make sure that both WebLogic Server and the Endeca Server application are up and running.
  3. Copy the sh_indexes directory to the Endeca Server's offline directory.

    The location of the offline directory is set by the endeca-offline-dir parameter in the Endeca Server configuration file (named EndecaServer.properties located by default in the $DOMAIN_HOME/config directory).

  4. Use the endeca-cmd import-dd command to create and enable an Endeca data domain, using the sh data files.

    You must specify a data domain that is not already in use. For example:

    endeca-cmd import-dd sh_sample --offline-name sh

The Endeca data domain named "sh_sample" is ready for use.