mysociety/pombola — pull request #1489 by mhl (2014-07-08 14:48:39+00:00)
Title: Add a default set of models to search in autocomplete

Previously, by default the autocomplete was searching across every model
in Elasticsearch - this caused problems because this included models
created by popit-resolver, for example, which would cause errors on
rendering.

Instead, only search a default set of models (Person, Place,
Organisation, PositionTitle) unless a particular model has been
specified in the request.

Fixes #1487