'Check that the indexer picked the right analyzer.'

def test_analyzer_choices(self):

    ids = [d.id for d in self.docs.values()]
    docs = es_utils.get_documents(DocumentMappingType, ids)
    for doc in docs:
        locale = doc['locale']
        eq_(doc['_analyzer'], self.locale_data[locale]['analyzer'])
