Source

whoosh / src / whoosh / qparser / syntax.py

Author Commit Message Labels Comments Date
Matt Chaput
Fix syntax.BinaryGroup to deal with one of its subqueries being None. Fixes issue #371.
Javed Khan
fixes #313: Wrapper - handle case where sub-node is None
Thomas Waldmann
white-space-only source cosmetics, details see below Changes were made by running a script that did the cleanups automatically: - no trailing blanks - exactly one linefeed at file end, see PEP8 - DOS line endings on .bat and .cmd files, unix line endings everywhere else
Matt Chaput
Changed wildcard plugin to anneal ? and * with surrounding text. This should fix a huge class of bugs. The way it used to work was pretty dumb.
Matt Chaput
Added CoordMatcher wrapper, which boosts/penalizes document scores based on how many query terms match in the document. See issue #271.
Matt Chaput
Fixed Regex query type, added RegexPlugin and PseudoFieldPlugin. Fixes bug #189 and #190.
Matt Chaput
Reformatted source code for better PEP 8 compliance.
Thomas Waldmann
transformed all *.py files to lf lineends, remove trailing blanks, normalize EOF
Matt Chaput
Finished first iteration of new spelling system (finally!!!).
Branches
dawg
Matt Chaput
Fixed bugs with creating nodes without start/endchar, changing APIs.
Branches
dawg
Matt Chaput
More work on supporting spelling correction.
Branches
dawg
Matt Chaput
Cleanups and additions to query inspection. Added debugging back to query parser. Fixed lack of startchar/endchar on some syntax nodes.
Branches
dawg
Matt Chaput
Added code to set syntax attribute on query objects.
Branches
dawg
Matt Chaput
Replacing query parser with refactored code. Various docs and bug fixes.
Branches
dawg
Vinay Sajip
Interim update. All tests pass on 2.7, on 3.2 1 skip and 3 failures.
Matt Chaput
Relicensed Whoosh under the simplified ("two-clause") BSD license.
Matt Chaput
Fixed field name parsing. Bumped version to 1.7.2. The Field token was converting non-schema fields to text before the field alias plugin could see them.
Matt Chaput
PEP 8 sweep.
Matt Chaput
Made GtLtPlugin regex configurable and work with FieldsPlugin instead of parsing the field name itself. Fixed a bunch of corner cases and added tests for parsing field names -- "a:a:" "a:b:c:d" etc. Changed TermRange so it maintains None as the start/end for open ranges. Added GtLtPlugin to parsing docs.
mchaput
Added Ordered query type.
mchaput
Cleaned up errors in new operator implementation.
mchaput
Added ability to use *:* wildcard. Added all_weights keyword arg to ListMatcher. Minor docs improvements.
mchaput
Broke qparser.default up into separate modules because it was huge and unwieldy.