I like the way you guys abstracted it to make it standard in case the other databases start supporting it. I guess you could simply add more comments to the source code
When I'm using this API, what is the process to get the ranking sorting order? I'm getting better results little in the bottom of the nodes. I want the search results to be sorted by the similarity rank