Adding and updating ranks

To add or update a static rank for the managed attribute value, use putManagedAttributeValues operation. A static rank is optional, and is used by Endeca Server when ranking values when they are returned as refinements, to the end users.

For information on how static ranking behaves and how Endeca Server assigns ranks and break ties with existing ranks, see About static ranking.

To add or update a static rank:

Use a request similar to the following:
<ns:configTransaction>
  <ns:putManagedAttributeValues>
    <ns1:mav>
      <name>Boston</name>
      <spec>bos</spec>
      <parent>MA</parent>
      <managedAttribute>location</managedAttribute>
      <rank>2</rank>
    </ns1:mav> 
  </ns:putManagedAttributeValues>
</ns:configTransaction>

This request specifies the rank 2 for the managed attribute value "Boston". Endeca Server uses this rank value to return the managed attribute value Boston.