elasticsearch/elasticsearch — pull request #2179 by s1monw (2012-08-16 13:43:30+00:00)
Title: use term query instead of a specialized SpanTermQuery on _all field if positions are omitted 

This PR uses a TermQuery instead of AllQuery if positions are omitted. See #2178 for details