Enabling snippeting

You enable the snippeting feature in the Member Options dialog box, which is accessed from the Search Interface editor.

You enable the snippeting feature in the Member Options dialog box, which is accessed from the Search Interface editor. Each member of a search interface is enabled and configured separately. In other words, snippeting results are enabled and configured for each member of a search interface and not for all members of a single search interface.

A search interface member is a dimension or property that has been enabled for search and that has been added to the Selected members pane of the Search Interface editor. You can enable and configure any number of individual search interface members. Each member that you enable produces its own snippet.

Enabling a member in one search interface does not affect that member if it appears in other search interfaces. For example, enabling the Description property for Search Interface A does not affect the Description property in Search Interface B.

To configure a search interface member for snippeting results:

  1. Open your project file in Developer Studio and double-click Search Interfaces.
  2. Either create a new search interface or select an existing one from the Search Interfaces view and click Edit.
  3. From the Selected Member area of the Search Interface editor, click a member that you want to configure for snippeting.
  4. Click Edit. The Member Options dialog box displays.
  5. From the Member Options dialog box, check Enable snippeting.
  6. Specify the maximum snippet size (number of words) a snippet can contain.
  7. Click OK.
  8. Repeat steps 3-7 if you want to configure additional search interface members.
Implementing search features requires additional work outside of Developer Studio. Please refer to the Endeca Basic Development Guide for details.