basho/yokozuna — pull request #98 by rzezeski (2013-04-27 02:13:32+00:00)
Title: Add catch-all field to default schema

* Should be indexed so it can be searched on.

* Shouldn't be stored as value could be large.

* Should be multi-valued because the field could repeat. This means
sorting on these fields will not be possible.

* Should be treated as unstructured text and thus use an analyzed
field type such as `text_general`. Using `string` would store it
as-is and thus reduce effectiveness of searching.

The upshot of all the points above is that the default schema will be able to
handle unknown fields but only basic searches will work against those fields.
Things like sorting, faceting and highlighting on catch-all fields won't
work.