Update tutorial.rst
Ignore missing index during .clear()

404 in indices.delete can only mean that the index is there, no issue
for a delete operation

Fixes #647
Ignore 404 when removing a document from elasticsearch

Fixes #942
Add a note on elasticsearch-py versioning with regards to 1.0
Solr backend: correct usage of pysolr delete

We use HAYSTACK_ID_FIELD in other places but the value passed to
pysolr's delete() method must use the keyword argument ``id``:

https://github.com/toastdriven/pysolr/blob/v3.1.0/pysolr.py#L756

Although the value is passed to Solr an XML tag named ``<id>`` it will
always be checked against the actual ``uniqueKey`` field even if it uses
a custom name:

https://wiki.apache.org/solr/UpdateXmlMessages#A.22delete.22_documents_by_ID_and_by_Query

Closes #943
Fix typo with instantiating Distance units
Merge pull request #946 from gkaplan/spatial-docs-fix

Small docs fix for spatial search example code
Fix logging call in SQS post_process_results (see #648)

This was used in an except: handler and would only be executed when a
load_all() queryset retrieved a model which wasn't registered with the
index.
Merge pull request #938 from Mbosco/patch-1

Update tutorial.rst
Fix possessive "its"
Fix typo; clarify purpose of search template
Merge pull request #968 from tobych/patch-1

Fix possessive "its" in tutorial.rst
Improve punctuation in super-scary YMMV warning
Merge pull request #969 from tobych/patch-2

Fix typo; clarify purpose of search template
Merge pull request #970 from tobych/patch-3

Improve punctuation in super-scary YMMV warning
ElasticSearch: avoid KeyError for empty spelling

It was possible to get a KeyError when spelling suggestions were
requested but no suggestions are returned by the backend.

Thanks to Steven Skoczen (@skoczen) for the patch
Add setup.cfg for common linters
ElasticSearch: update clear() for 1.x+ syntax

As per http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/docs-delete-by-query.html this should be nested inside a
top-level query block:

{“query”: {“query_string”: …}}
Fixed typo in example

It should be `css_class` in the template tag example instead of just `class`. (It is mentioned correctly in the syntax line earlier).
Drop unused variable when post-processing results

original_results is not used in either method, and can be safely removed.