- 05 Dec, 2002 3 commits
-
-
Casey Duncan authored
-
Casey Duncan authored
Major refactor of the catalog search engine centered around optimizing sort by index operations. The resulting code greatly outperforms the previous version and uses less memory. Exposed a new ZCatalog method "search" which has a better interface for programmatic searches. Updated documentation as well. Implemented a sort limit option which allows you to inform the catalog that you are only interested in a certain number of results. In the common case this allows the ZCatalog machinery to use a different sorting algorithm (N-Best) which scales much better then a full sort. Also more tightly integrated the merge option which allows you to tell the catalog that you would like raw and unsorted intermediate results returned rather than sorted and lazified results. This can be used to efficiently merge search results across multiple catalogs.
-
Barry Warsaw authored
-
- 04 Dec, 2002 1 commit
-
-
Evan Simpson authored
-
- 03 Dec, 2002 4 commits
-
-
Guido van Rossum authored
list that was being modified as we went). [Backport from Zope3; I'm not actually sure if the list returned by **Btree.keys() is lazy, but I assume it is.]
-
Barry Warsaw authored
# DB 4.1.24 requires that operations happening in a transaction must # be performed on a database that was opened in a transaction. Since # we do the former, we must do the latter. However, earlier DB # versions don't transactionally protect database open, so this is the # most portable way to write the code. i.e. we use the DB_AUTO_COMMIT flag for the open, if it's defined.
-
Barry Warsaw authored
right thing to do anyway, and should work just find for earlier versions of the wrapper. Specifically, _dorecovery(), _collect_objs(), _mark(): transactionally protect .truncate() and .consume() _docommit(): Move the setting of the _pending flag to here from _finish() so we can transactionally protect it more conveniently. This does't change the semantics and the recovery code in _setupDBs() doesn't care since the flag will already be set to COMMIT.
-
Barry Warsaw authored
right thing to do anyway, and should work just find for earlier versions of the wrapper. Specifically, _doabort(), _docommit(), _mark(), _sweep(), _collect_objs(): Transactionally protect .truncate() and .consume() _docommit(): Move the setting of the _pending flag to here from _finish() so we can transactionally protect it more conveniently. This does't change the semantics and the recovery code in _setupDBs() doesn't care since the flag will already be set to COMMIT. _begin(): Transactionally protect the setting of the _pending flag to ABORT.
-
- 02 Dec, 2002 2 commits
-
-
Jeremy Hylton authored
I couldn't find any references to cPickle in any of the setup/build tools, but I couldn't actually verify that the Windows build was unaffected.
-
Casey Duncan authored
Added ZPL header to stopper test module
-
- 30 Nov, 2002 2 commits
-
-
Andreas Jung authored
Python 2.2.X version
-
Andreas Jung authored
-
- 28 Nov, 2002 4 commits
-
-
Andreas Jung authored
-
Andreas Jung authored
- logging an error message instead of raising an exception in case of unindex_object() failure
-
seb authored
-
seb authored
-
- 27 Nov, 2002 2 commits
-
-
Lennart Regebro authored
- Collector #699: MailHosts created in 2.5 breaks in 2.6. - Collector #694: dtml-sendmail mailto specification replaces "To:" header.
-
Lennart Regebro authored
-
- 26 Nov, 2002 4 commits
-
-
Guido van Rossum authored
Normalize whitespace (horizontal and vertical).
-
Guido van Rossum authored
confusion caused by having the instance and the class have the same name.
-
Guido van Rossum authored
ChrisM's changes here) it is no longer necessary to call zLOG.initialize() in order to see logging output.
-
Guido van Rossum authored
least 2.2.2.) Add -v1 to TESTOPTS, so running the entire test suite is a little less verbose.
-
- 25 Nov, 2002 3 commits
-
-
Chris McDonough authored
Stringify the object in the exception in case its a list or tuple (an inscrutable error occurs if this is not done).
-
Chris McDonough authored
-
Barry Warsaw authored
_doclose() twice (runsvr.py had a bug that caused the storages to be closed twice).
-
- 24 Nov, 2002 4 commits
-
-
Chris McDonough authored
-
Chris McDonough authored
-
Chris McDonough authored
-
Chris McDonough authored
-
- 23 Nov, 2002 2 commits
-
-
Andy McKay authored
-
Andy McKay authored
Allowing DA to have an option connection hook which allows you to change the database connection at run time for a sqlmethod.
-
- 22 Nov, 2002 6 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
close(): The base class can now do all the work of closing, including stopping the background threads. log(): Much more convenient.
-
Fred Drake authored
-
Guido van Rossum authored
do the build in *this* version of Zope.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 21 Nov, 2002 3 commits
-
-
Fred Drake authored
severity level. This allows the common names to be used for severities, not just integers. This can make configuration data less obscure. - Refactor initialize(): get_environment_info() pulls information from the environment variables, and this gets passed to initialize_log(), which does nothing to determine the source of the configuration data. - New method initialize_with_config(): Load information not provided by the environment from a ZConfig section. This allows the environment to override a config file, and avoids having the application deal with the specific information needed to configure logging.
-
Barry Warsaw authored
Jim suggests that autopack never do a full gc'ing pack by default, so let's set the classicpack default to zero. __init__(): Pass the absolute path to the DB environment's db_home as the name argument to the base class constructor. This gives a unique value for sortKeys(). env_from_string(): Keith Bostic suggests we stick with DB_RECOVER.
-
Barry Warsaw authored
-