Beispiel #1
0
        def topic(self):
            valid_params = ['alt', 'mm', 'pf', 'ps', 'qs', 'tie', 'bq', 'bf']

            for v in valid_params:
                kwargs = {v: 'a'}
                q = DisMax('title^2 body^1', **kwargs)
                yield (v, q.get_params())
Beispiel #2
0
        def topic(self):
            valid_params = [
                'alt',
                'mm',
                'pf',
                'ps',
                'qs',
                'tie',
                'bq',
                'bf'
            ]

            for v in valid_params:
                kwargs = {v: 'a'}
                q = DisMax('title^2 body^1', **kwargs)
                yield (v, q.get_params())
Beispiel #3
0
 def topic(self):
     q = DisMax('title^2 body^1')
     return q.get_params()
Beispiel #4
0
 def topic(self):
     q = DisMax('title^2 body^1', edismax=False)
     return q.get_params()
Beispiel #5
0
 def topic(self):
     q = DisMax('title^2 body^1')
     return q.get_params()
Beispiel #6
0
 def topic(self):
     q = DisMax('title^2 body^1', edismax=False)
     return q.get_params()