code: def MultifieldParser(fieldnames, schema, fieldboosts=None, **kwargs):
      """Returns a QueryParser configured to search in multiple fields.
  
      Instead of assigning unfielded clauses to a default field, this parser
      transforms them into an OR clause that searches a list of fields. For
      example, if the list of multi-fields is "f1", "f2" and the query string is
      "hello there", the class will parse "(f1:hello OR f2:hello) (f1:there OR
      f2:there)". This is very useful when you have two textual fields (e.g.
      "title" and "content") you want to search by default.
  
      :param fieldnames: a list of field names to search.
      :param fieldboosts: an optional dictionary mapping field names to boosts.
      """
  
      from whoosh.qparser.plugins import MultifieldPlugin
  
      p = QueryParser(None, schema, **kwargs)
      mfp = MultifieldPlugin(fieldnames, fieldboosts=fieldboosts)
      p.add_plugin(mfp)
      return p
  
imports: import sys
  from whoosh import query
  from whoosh.compat import text_type
  from whoosh.qparser import syntax
  from whoosh.qparser.common import print_debug, QueryParserError
label_desc: Use image node_id 1 for calling a global function with example usage: MultifieldParser(fieldnames, schema, fieldboosts) and returns: p