elasticsearch/elasticsearch — pull request #2226 by kennknowles (2012-08-31 20:00:02+00:00)
Title: Fix reversed ShingleFilter constructor arguments

The `ShingleTokenFilterFactory` in ElasticSearch reverses the arguments to the underlying Lucene `ShingleFilter`

For reference, here is a script that reproduces the issue clearly: https://gist.github.com/3558149