elasticsearch/elasticsearch — pull request #4040 by martijnvg (2013-11-01 10:06:32+00:00)
Title: Fixed bug that document with a suggest field can't be percolated.

The CompletionTokenStream doesn't properly forward the call to its attributes, so when the percolator needs to access terms of this stream, null was returned and this isn't expected in the MemoryIndex.

Relates to #4028