def test_highlight_cumulative(self):
        # No highlighted fields means no highlights.
        s = (self.get_s().query(foo__match='car')
                         .filter(id=5)
                         .highlight())
        eq_(list(s)[0].es_meta.highlight, {})

        # Add a field and that gets highlighted.
        s = s.highlight('foo')
        eq_(list(s)[0].es_meta.highlight['foo'], [u'train <em>car</em>'])

        # Set it back to no fields and no highlight.
        s = s.highlight(None)
        eq_(list(s)[0].es_meta.highlight, {})
Fill in all the cache information. This method is threadsafe, in the
dataset/ETHPy150Open mozilla/elasticutils/elasticutils/tests/test_query.py/HighlightTest.test_highlight_cumulative--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/db/models/loading.py/AppCache._populate