public void setRankOrder(String rankOrder) {
        this.rankOrder = rankOrder;
    }
<p>
Determines how values should be interpreted.
</p>
<p>
When the <code>RankOrder</code> field is <code>ASCENDING</code>, higher numbers are better. For example, a
document with a rating score of 10 is higher ranking than a document with a rating score of 1.
</p>
<p>
When the <code>RankOrder</code> field is <code>DESCENDING</code>, lower numbers are better. For example, in a
task tracking application, a priority 1 task is more important than a priority 5 task.
</p>
<p>
Only applies to <code>LONG</code> fields.
</p>

@param rankOrder
       Determines how values should be interpreted.</p>
       <p>
       When the <code>RankOrder</code> field is <code>ASCENDING</code>, higher numbers are better. For example, a
       document with a rating score of 10 is higher ranking than a document with a rating score of 1.
       </p>
       <p>
       When the <code>RankOrder</code> field is <code>DESCENDING</code>, lower numbers are better. For example,
       in a task tracking application, a priority 1 task is more important than a priority 5 task.
       </p>
       <p>
       Only applies to <code>LONG</code> fields.
@see Order
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/Relevance.java