51def search(query, request_params):
52 """Query (offline) engine and return results. Assemble the list of results from
53 your local engine. In this demo engine we ignore the 'query' term, usual
54 you would pass the 'query' term to your local engine to filter out the
60 result_list = json.loads(_my_offline_engine)
62 for row
in result_list:
65 'language': request_params[
'searxng_locale'],
66 'value': row.get(
"value"),
68 'template':
'key-value.html',