jan-h
2/9/2016 - 3:53 PM

Create a new Fredhopper Indexer for use in SmartTarget

Create a new Fredhopper Indexer for use in SmartTarget

This is how to add a indexer to a Fredhopper installation for SmartTarget.

  1. Register the indexer in fredhopper\config\topology.txt
  2. Run bin\deployment-agent-client create-instance -I <preset> <instance name> FAS
  3. Run bin\deployment-agent-client add-role <instance-name> http://localhost:8177/static/staging.xml
  4. Copy business.xml and trigger-types.xml from the SmartTarget installation media into fredhopper/data/instances/<indexer-name>/config.
  5. Run bin\instance <indexer-name> start
  6. Copy metadata.xml from the SmartTarget installation media into fredhopper/data/instances/<indexer-name>/data/xml/incoming/batch. Do this while the instance start is running. During the initial run the instance will create the incoming/batch folder and the indexer start will not finish before the first transaction metadata.xml is processed.

You could run bin\setup-cluster instead of the deployment-agent-client, but the deployment-agent-client gives you more fine grained control. Also setup-cluser can be run only once in an installation, with deployment-agent-client you can add indexers after the initial setup.