(fieldname, schema, **kwargs)
return QueryParser(fieldname, schema, plugins=pins, **kwargs)
Returns a QueryParser configured to support only +, -, and phrase
    syntax.
Returns a QueryParser configured to support only +, -, and phrase
    syntax.
Returns a QueryParser configured to support only + - and phrase syntax .
def SimpleParser(fieldname, schema, **kwargs):
    """Returns a QueryParser configured to support only +, -, and phrase
    syntax.
    """

    from whoosh.qparser import plugins

    pins = [plugins.WhitespacePlugin,
            plugins.PlusMinusPlugin,
            plugins.PhrasePlugin]
    return QueryParser(fieldname, schema, plugins=pins, **kwargs)
def SimpleParser ( fieldname , schema , * * kwargs ) : from whoosh . qparser import plugins pins = [ plugins . WhitespacePlugin , plugins . PlusMinusPlugin , plugins . PhrasePlugin ] return QueryParser ( fieldname , schema , plugins = pins , * * kwargs )