documentcloud/visualsearch — pull request #32 by dmclain (2011-10-31 22:32:43+00:00)
Title: Visualsearch users should be able to opt out of autocomplete sorting

When using the Visualsearch callbacks for facets and autocompletion, the server might have sent down the suggestions in a better order than the grepping/sorting that the javascript does. This PR adds another parameter to the valueMatches and facetMatches callbacks that allows them to opt out of the filtering/sorting step.