2

Is it currently possible to specify a field and sort direction for the openFDA api? I don't see any mentioning of it within the documentation.

1

It does not support sort, although there is some ranking that is done behind the scene; it is the default scoring on Elasticsearch, which is based upon Lucene's similarity algorithm:

http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/search/similarities/TFIDFSimilarity.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.