#NEWLINE# @ classmethod #NEWLINE# def term( cls , field , value ) : #NEWLINE# #INDENT# '\n        http://www.elasticsearch.org/guide/reference/query-dsl/term-filter.html\n        Filters documents that have fields that contain a term (not analyzed). Similar to term query, except that it acts as a filter.\n        ' #NEWLINE# return cls ( term = { #NEWLINE# #INDENT# field : cls , #NEWLINE# #UNINDENT# } )