marklogic / java-client-api

Java client for the MarkLogic enterprise NoSQL database
https://docs.marklogic.com/guide/java
Apache License 2.0
58 stars 72 forks source link

Sort on fitness or confidence #809

Closed sammefford closed 3 years ago

sammefford commented 7 years ago

New capabilities have been added to the search:search and REST API's as part of bugtrack issue 41610. We need to add equivalent functionality to the Java Client API.

grechaw commented 7 years ago

It's some query builder work, indeed. Note that although the vocabulary now supports these new options, they don't exhibit any different behavior from sorting on score.

sammefford commented 7 years ago

Thanks for the comment, Charles. But I don't understand. Shouldn't the values for fitness differ from confidence, and differ from score? If the values for each result differ, shouldn't sorting on a particular value change the order of the results?