class_docstr: A hand-written query parser built on modular plug-ins. The default
  configuration implements a powerful fielded query language similar to
  Lucene's.
  
  You can use the ``plugins`` argument when creating the object to override
  the default list of plug-ins, and/or use ``add_plugin()`` and/or
  ``remove_plugin_class()`` to change the plug-ins included in the parser.
  
  >>> from whoosh import qparser
  >>> parser = qparser.QueryParser("content", schema)
  >>> parser.remove_plugin_class(qparser.WildcardPlugin)
  >>> parser.add_plugin(qparser.PrefixPlugin())
  >>> parser.parse(u"hello there")
  And([Term("content", u"hello"), Term("content", u"there")])
class_docstr_tok: ["A","hand-written","query","parser","built","on","modular","plug-ins",".","The","default","configuration","implements","a","powerful","fielded","query","language","similar","to","Lucene","'s",".","You","can","use","the","``","plugins","``","argument","when","creating","the","object","to","override","the","default","list","of","plug-ins",",","and\/or","use","``","add_plugin","(",")","``","and\/or","``","remove_plugin_class","(",")","``","to","change","the","plug-ins","included","in","the","parser",".",">",">",">","from","whoosh","import","qparser",">",">",">","parser","=","qparser.QueryParser","(","``","content","''",",","schema",")",">",">",">","parser.remove_plugin_class","(","qparser.WildcardPlugin",")",">",">",">","parser.add_plugin","(","qparser.PrefixPlugin","(",")",")",">",">",">","parser.parse","(","u","''","hello","there","''",")","And","(","[","Term","(","``","content","''",",","u","''","hello","''",")",",","Term","(","``","content","''",",","u","''","there","''",")","]",")"]
docstr: Takes a group of nodes and runs the filters provided by the parser's
  plugins.
docstr_tok: ["Takes","a","group","of","nodes","and","runs","the","filters","provided","by","the","parser's","plugins","."]
code: def filterize(self, nodes, debug=False):
      """Takes a group of nodes and runs the filters provided by the parser's
      plugins.
      """
  
      # Call each filter in the priorized list of plugin filters
      if debug:
          print_debug(debug, "Pre-filtered group: %r" % nodes)
      for f in self.filters():
          if debug:
              print_debug(debug, "..Applying: %r" % f)
          nodes = f(self, nodes)
          if debug:
              print_debug(debug, "..Result: %r" % nodes)
          if nodes is None:
              raise Exception("Filter %r did not return anything" % f)
      return nodes
  
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 15 for calling the QueryParser obj's underlying member method code with example usage: obj.filterize(nodes, debug) and returns: nodes