We\'re using MongoDB\'s text search, which so far is working great. However, we want to also specify an order for the results, such as this:
db.items.runCommand
MongoDB's "text" command doesn't support custom sorting so you'd have to sort the results by votes in your own code.
"text"
votes
The supported options are listed here.