weavejester/clucy — pull request #9 by scusack (2012-04-11 07:21:24+00:00)
Title: default-operator support for search function

Hi,

A project I'm working on needs be able to change the default operator to an AND.

I've added an extra keyword argument and some tests to support setting the default operator on the QueryParser.

If :default-operator is not supplied then the default of OR is used, if it is supplied then it must be either :and or :or otherwise it'll cause problems for the case statement.

I've found clucy very useful, thanks.

-- sim