mozilla/kitsune — pull request #616 by willkg (2012-05-23 16:58:49+00:00)
Title: Indexing fix 757666

There are two commits here. The first implements a tool to measure how
screwed the index is and the second fixes the screwification.

While the fix looks simple, it touches a fundamental part of how elasticutils
and elasticsearch works. This changes the _id from an int to a string. I know
that causes problems with elasticutils ObjectResults, but we work hard not to
use that. Regardless, that's the default SearchResults object (which is stupid,
imo). I ran the tests and went through and tried to touch all the bits of kitsune
that talk to ES and I think it's all good. Just mentioning it so you, the reviewer,
know.

r?