def _process_field_queries(field_dictionary):
def field_item(field):<EOL><INDENT>"""<STR_LIT>"""<EOL>return {<EOL>"<STR_LIT>": {<EOL>field: field_dictionary[field]<EOL>}<EOL>}<EOL><DEDENT>return [field_item(field) for field in field_dictionary]<EOL>
We have a field_dictionary - we want to match the values for an elasticsearch "match" query
This is only potentially useful when trying to tune certain search operations