LogoLogo
Fredhopper Integration Guide
Fredhopper Integration Guide
  • Fredhopper Integration Guide
  • Fredhopper Integration Guide
    • Data Integration
      • Item Data Structure
        • Full Feeds
          • Full Feed JSON Data Format
          • Full Feed CSV Data Format
        • Incremental Feeds
          • Incremental Feed JSON Data Format
          • Incremental Feed CSV Data Format
        • Full and Incremental Feed Uploads
      • Suggest Service Data Feeds
        • Suggest Service Data Format
        • Suggest Data Uploads
      • Custom Data Feeds
        • Custom Data Format
        • Custom Data Uploads
        • Services API Fail Safe Features
    • Front-End Integration
      • Understanding the Fredhopper Query API
      • Using the Fredhopper Query API
      • Fredhopper Query Language
      • Redirects - REST vs. SOAP
      • Query API Fail Safe Features
      • Integration Best Practices
      • Suggest
      • Definitions
      • Fredhopper Query and Response Samples
    • Glossary
Powered by GitBook

Copyright @ 2024 Crownpeak Technology, Inc. All rights reserved.

On this page
  1. Fredhopper Integration Guide
  2. Data Integration
  3. Suggest Service Data Feeds

Suggest Service Data Format

This section describes how to prepare data for the Fredhopper Suggest Service.

PreviousSuggest Service Data FeedsNextSuggest Data Uploads

Last updated 7 months ago

File Input Format

There are two CSV files that allow the customisation of the keyword suggestions that are returned in the Suggest query responses from Fredhopper. These are:

  • blacklist.csv - used to remove suggestions which are found in the historic search data

  • whitelist.csv - used to add any additional suggestions which are not found in the historic search data

blacklist.csv

The blacklist.csv file must adhere to the following guidelines:

  • Blacklisted terms must be provided in a file named blacklist.csv

  • Columns are separated by double (\t\t)

  • UTF-8 encoded with standard PC end of line sequencing (\r\n)

  • Only printable characters, i.e. no control characters

  • All columns are in the defined order and have the defined headers

  • The last line in the file should be blank (0 character length)

Searchterm to be excluded

Word or phrase which should not be included in the available suggestions

Locale

i18n localisation definition

Example

perfume

en_GB

ted baker

en_GB

merde

fr_FR

whitelist.csv

The whitelist.csv file must adhere to the following guidelines:

  • Whitelisted terms must be provided in a file named whitelist.csv

  • UTF-8 encoded with standard PC end of line sequencing (\r\n)

  • Only printable characters, i.e. no control characters

  • All columns are in the defined order and have the defined headers

  • The last line in the file should be blank (0 character length)

Searchterm to be included

Word or phrase which should be included in the available suggestions

Locale

i18n localisation definition

Example

dresses

en_GB

alexander wang

en_GB

robes

fr_FR

Empty or a valid

Columns are separated by double (\t\t)

Empty or a valid

tabs
tabs
Java Locale
Java Locale