def test_boost(self):
        q1 = (self.get_s()
                  .boost(foo=4.0)
                  .query(foo='car', foo__match='car', foo__match_phrase='car'))

        # Make sure the query executes without throwing an exception.
        list(q1)

        # Verify it's producing the correct query.
        eqish_(q1.build_search(),
            {
                'query': {
                    'bool': {
                        'must': [
                            {'match_phrase': {'foo': {'query': 'car', 'boost': 4.0}}},
                            {'term': {'foo': {'value': 'car', 'boost': 4.0}}},
                            {'match': {'foo': {'query': 'car', 'boost': 4.0}}}
                        ]
                    }
                }
            })

        # Do the same thing with Qs.
        q1 = (self.get_s()
                  .boost(foo=4.0)
                  .query(Q(foo='car', foo__match='car', foo__match_phrase='car')))

        # Make sure the query executes without throwing an exception.
        list(q1)

        # Verify it's producing the correct query.
        eqish_(q1.build_search(),
            {
                'query': {
                    'bool': {
                        'must': [
                            {'match_phrase': {'foo': {'query': 'car', 'boost': 4.0}}},
                            {'term': {'foo': {'value': 'car', 'boost': 4.0}}},
                            {'match': {'foo': {'query': 'car', 'boost': 4.0}}}
                        ]
                    }
                }
            })
Return the metadata change time of a file, reported by os.stat().
dataset/ETHPy150Open mozilla/elasticutils/elasticutils/tests/test_query.py/QueryTest.test_boost--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/posixpath.py/getctime