Source

whoosh / tests / test_results.py

Author Commit Message Labels Comments Date
Matt Chaput
Just return an empty list for documents without terms in matched_terms() Fixes issue #364.
Matt Chaput
Simple unit test.
Matt Chaput
Added docs for how to set highlighter attributes on a ResultsPage.
Matt Chaput
Added self.is_closed check to reader methods to give better error messages. Fixes issue #333.
ma...@bondi.sidefx.com
columns.py: PostingColumnReader shouldn't have been translating the bytes in sort_key() method. Made TranslatingColumn wrapper optional in SegmentReader.column_reader(), changed sorting code to not use it.
ma...@bondi.sidefx.com
Changed implementation of sorting on column-less fields to make and cache a fake column. Added missing MemPerDocReader.has_column() in memory.py. Added warning text in codec.base.PerDocWriter.add_column_value(). Added explicit codec argument in column-related tests to allow switching default codec. Minor doc string changes.
Matt Chaput
Converted tests to use py.test instead of nose.
Comments 1
Matt Chaput
Requesting a page number greater than the number of pages is no longer an error. Fixes issue #289. I wasn't sure about this change previously because it might have compatibility issues, but 3.0 already has those.
Matt Chaput
Fixed PEP8 issues. Fixed docstrings. See issue #127.
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
Added ability to get column values using Hit[]. Added column reader cache to SegmentReader.
lakin.wecker
fixing the issue of using filters with search_page which causes a few type errors.
Comments 2
Matt Chaput
Refactored searching.Collector into collectors module. Added hit collapsing. Fixes issue #259.
Matt Chaput
Moved several functions included for backwards compatibility to compat from util. Fixed bug in StructFile.get_array(). Fixed references to filedb.fileindex.Segment. Added "gint" variable-length integer compression functions to util.
Matt Chaput
Expanded docs on getting the number of results.
Matt Chaput
Fixed unicode handling in FSA/FST more. Fixed lots of bytes/unicode and other Python 3 compatibility issues. Unit tests pass on Python 3.
Matt Chaput
Replaced NullMatcher with a singleton. Although instantiation of NullMatchers isn't exactly on a hot path (it can only happen during replace()), I always meant to get around to this because it makes sense, and will add some tiny speed improvement, so why not? Fixes issue #181. Fixed braindead test in test_results.
Thomas Waldmann
transformed all *.py files to lf lineends, remove trailing blanks, normalize EOF
Matt Chaput
Starting 'hilite' branch
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.
Matt Chaput
Moved analyzer up to field (it was always a bad decision to put it on the format, finally fixed it). Added ability to run "unmorphed" version of analyzer chain. Hardcoded unicode numbers, uppercase, and lowercase instead of computing them whenever analysis is imported. General cleanup.
Matt Chaput
Fixed error marker.
Matt Chaput
Finished first iteration of new spelling system (finally!!!).
Branches
dawg
Matt Chaput
Fixed merging errors.
Branches
betterq
Matt Chaput
Merging bug fixes and Python 3 compatibility from mainline.
Branches
betterq
Vinay Sajip
Interim update. All tests pass on 2.7, on 3.2 1 skip and 3 failures.
Matt Chaput
Cleaned up Collector. Started to implement true matcher/block quality. Commented out PL2 and added DFree.
Branches
betterq
Matt Chaput
Fixed miscalculation of avg_field_length() in a submatcher. Fixed nonapplication of filter/mask in Results._load_docs(). Bumped version to 1.8.4. Fixes issue #140.
Matt Chaput
Rewrote test_extend_empty() without len(). It still doesn't show the problem in issue #140.
  1. Prev
  2. 1
  3. 2
  4. Next