Endeca - Search Interface (recsearch_config)

About

A search interface can be created if you want to specify one or more standard attributes to search.

It is an ordered list of attributes.

You create search interfaces so you can apply behavior such as relevance ranking across a group.

Configuration

You implement a search interface via the RECSEARCH_CONFIG XML configuration document that you can manage through the config interface.

The resulting search interface should look similar to this example of a search interface named AllFields that uses a relevance ranking strategy named All:

<RECSEARCH_CONFIG>
  <SEARCH_INTERFACE CROSS_FIELD_BOUNDARY="NEVER" 
      CROSS_FIELD_RELEVANCE_RANK="0" 
      DEFAULT_RELRANK_STRATEGY="All" NAME="AllFields">
    <MEMBER_NAME RELEVANCE_RANK="4">ProductType</MEMBER_NAME>
    <MEMBER_NAME RELEVANCE_RANK="3">ProductName</MEMBER_NAME>
    <MEMBER_NAME RELEVANCE_RANK="2">SalesRegion</MEMBER_NAME>
    <MEMBER_NAME RELEVANCE_RANK="1">Description</MEMBER_NAME>
  </SEARCH_INTERFACE>
</RECSEARCH_CONFIG>

where:

Documentation / Reference


Powered by ComboStrap