mozilla/kitsune — pull request #582 by willkg (2012-04-26 00:54:46+00:00)
Title: bug 729679 and bug 746609: admin search index browser and unified doctype

Oh man... This is pretty intense. I tried to touch as many files as I could. The commits are well-contained so if you want to browse it commit-by-commit, that might be easier.

First, this covers bug 729679 which adds the admin search index browser. That was in another pull request, so that's probably fine. Sorry for including it again here, but it would have been tricky to extract.

Second, this covers bug 746609 which reworks all the ES bits so that we use a single doctype for everything and filter on the 'model' field when we want results from a specific bucket. We're still doing bucketed search, but we're now in a good position to write a unified search results view hidden by a waffle flag.

I also cleaned up some code that I accidentally touched and then had to finish cleaning. I added a note to a test that fails periodically. I fixed import statements across the codebase to pull things from wiki.config rather than wiki.models.

r?