You create relevance ranking strategies by modifying the RELRANK_STRATEGIES configuration document.
All configuration documents are present in the data files of the Oracle Endeca Server, for a particular data domain and its corresponding Dgraph process. You can edit them using the format specified in the Dgraph Configuration Reference appendix in this guide. After these documents are edited, you can send them to the Dgraph using the Configuration Web Service or Integrator ETL, thus specifying the configuration you want.
You create a relevance ranking strategy by adding one or more RELRANK_STRATEGY elements to the root RELRANK_STRATEGIES document.
<RELRANK_STRATEGIES> <RELRANK_STRATEGY NAME="WineMatch"> <RELRANK_INTERP/> <RELRANK_STATIC NAME="Flavors" ORDER="ASCENDING"/> <RELRANK_FIELD/> </RELRANK_STRATEGY> </RELRANK_STRATEGIES>
Keep in mind that the order of the module sub-elements defines the order in which the strategies are applied to the search results.
To create a relevance ranking strategy:
The new relevance ranking strategy can now be added to a search interface.