mozilla/kitsune — pull request #555 by willkg (2012-04-03 21:26:04+00:00)
Title: Add cli for front page search

* adds a "./manage.py essearch " which spits out results
to stdout which is easier to compare with other things
* brings in elasticutils update that changes highlighted to _highlighted
and adds _score and _type metadata

This has no effect on the search view output for either Elastic Search or Sphinx versions of the search view. It only adds a cli for it.

The cli is kind of handy. It shows rank, score, doc type, and title. Makes it really easy to compare results for the first three pages of a front page search between different scoring systems. We could increase that to a larger number of pages if that's useful or even just keep showing results until some score threshold.

r?