elasticsearch/elasticsearch — pull request #3988 by jpountz (2013-10-28 12:29:26+00:00)
Title: Make ContextIndexSearcher delegate more method calls to Engine.searcher()

When running tests, Engine.searcher() is going to be an AssertingIndexSearcher
so we definitely don't want to discard it. This commit fixes it as well as the
bugs it found.

Closes #3987