Source

whoosh / tests / test_queries.py

Author Commit Message Labels Comments Date
Matt Chaput
Added test of ANDMAYBE with a phrase on the right side.
Matt Chaput
Fixed copy-paste error in _and_query() method of Sequence query.
Matt Chaput
Check for ValueError in queries that call to_bytes(). Fixes issue #355
Matt Chaput
Reduced iterations in various tests to speed up test suite.
Matt Chaput
Forgot to commit test for Nones in compound queries.
Matt Chaput
Added documentation and updated release notes for Whoosh 2.5 release.
Matt Chaput
Converted tests to use py.test instead of nose.
Comments 1
Matt Chaput
Added another test for Not queries inside Or queries. See issue #292.
Matt Chaput
Fixed leftover reference to _split_queries(). Fixed test. See issue #285, 286.
Matt Chaput
Removed attempts to "optimize" NOTs in And/Or queries. Fixes issues #285, #286. The code is left over from when I didn't allow top-level NOT queries, but it's too easy to get the logic wrong, and it works without it, so I just removed it.
Comments 1
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
Fixed tests on Python 3.2. Added py2.5 and py3.2 to tox.ini.
Matt Chaput
Moved spans module under whoosh.query.
Matt Chaput
Fixed broken import in legacy. Reformatted multi-line imports.
Matt Chaput
- Changed operator regexes to use look-ahead/-behind instead of matching whitespace. Fixes issue #253. WhitespacePlugin could "steal" all whitespace before an operator so the op pattern (which included leading WS) wouldn't match. - Moved test_not_order to a more appropriate test module.
Matt Chaput
Matt Chaput
Fixed dumb regex for NOT op where it only worked after string start or a space. Fixes issue #252.
Comments 1
Thomas Waldmann
Regex term: fix prefix computation for * and ? special cases
Matt Chaput
Broke query and matching modules into sub-modules because the files were huge. Went over remaining test files for minor PEP8 issues.
Matt Chaput
Fixed bugs in Regex private methods. Thanks Thomas! Fixes issue #206.
Branches
cleanup2.4
Matt Chaput
Removed unused imports that were breaking under Python 2.5. Fixes issue #187.
Thomas Waldmann
transformed all *.py files to lf lineends, remove trailing blanks, normalize EOF
Matt Chaput
Fixed highlighting of terms matched by a "multiterm" query such as Wildcard. Added "expand" keyword argument to Query.existing_terms(). Fixes issue #164.
Matt Chaput
Rewrote fragmenters to be more efficient.
Branches
hilite
Matt Chaput
Added optional recording of matching terms per document, off by default. Removed TermTrackingCollector. Added matcher methods to find terms in tree.
Jordan Sherer
Merged with tip. Resolved merge conflicts
Jordan Sherer
Finished Python 3.2 compatibility updates
Jordan Sherer
Compatibility fixes part 1.
Matt Chaput
Removed error and warning flags.
Matt Chaput
Added test for issue #149.
  1. Prev
  2. 1
  3. 2
  4. Next