Source

whoosh / src / whoosh / filedb / fieldcache.py

The branch 'logging' does not exist.
Author Commit Message Labels Comments Date
Matt Chaput
Added logger objects to modules.
Branches
logging
Matt Chaput
Writer now assembles segment files into a single compound file by default. (Use myindex.writer(compound=False) to disable.) Removed uses of mmap other than with compound file. Fixed bugs in file cleanup, RamIndex.
Matt Chaput
Fixed handling of Q codes in fieldcaches. Thanks Thomas! Fixes issue #200.
Matt Chaput
Fixed bad attribute reference. Fixed fieldcache saving. Added test for persistent field caching. Fixes issue #200.
Matt Chaput
More PEP 8 line length fixes.
Matt Chaput
Matt Chaput
Reformatted source code for better PEP 8 compliance.
Matt Chaput
Fixed undefined variable error. Fixes issue #178.
Thomas Waldmann
transformed all *.py files to lf lineends, remove trailing blanks, normalize EOF
Matt Chaput
Cleaned up collector logic. Added ability to overlap field facets. Added/revised docs.
Branches
flexisort
Matt Chaput
Added range facets. Added better "missing value" handling for faceting numeric and date fields.
Branches
flexisort
Matt Chaput
Fixed use of array as a source for another array (raises error in PyPy).
Branches
flexisort
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
Added code to prevent trying to read a partially completed field cache. See issue #102
Matt Chaput
PEP 8 sweep.
Matt Chaput
Fixed bugs in field cache saving. Bumped version number.
Matt Chaput
Improvements to shared field caches.
Matt Chaput
Implemented shared field caches.
Matt Chaput
Updated field caches docs. Added Searcher.set_caching_policy(). Added FieldCachingPolicy.get_class().
Matt Chaput
Added Reader.set_caching_policy(), moved caching policy from FileReader to fieldcache.FieldCachingPolicy. Turned field cache saving back on by default. Removed check for already deleted docs - issue #95. Minor docs fixups. Bumping version.
mchaput
Finished new implementation of per-reader field caches, sorting, and faceting.
mchaput
More work on fieldcaches and sorting/faceting. Provisionally switched numeric functions to use base85 instead of hex. May switch back (40% smaller, 50% slower). Converted tests to use "with" statement for searcher.
Matt Chaput
More work on field caches. Re-implemented sorting. Moved logic from FieldCache to FileReader. query.MultiTerm now switches to a set for queries with tons of terms instead of returning a slow mega-matcher. Most MultiTerm subclasses now use a constant score by default. Removed some method bloat from IndexReader interface. Switched Results implementation yet again to use a list of (score, docnum) instead of two parallel lists.
mchaput
Continuing rearchitecture of searching. Leaf searching is off by default because it still has bugs. Removed exclude_docs arg all over the place. Not()s now cause an AndNot(). Index.reader() now takes an existing reader to cannibalize. Generalized ExcludeMatcher into FilterMatcher. Pull and collect functions are now inside a Collector class.
mchaput
Beginnings of FieldCache. The Matcher.blockinfo.foo access to block stats is now Matcher.block_foo(). Added block stats to ListMatcher.