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.
To add or update a static rank:
<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.