- 05 Jun, 2002 1 commit
-
-
Toby Dickenson authored
revert unintended change: a function return value of None should be marshalled as an xmlrpc boolean False
-
- 04 Jun, 2002 5 commits
-
-
Martijn Pieters authored
show that mapping.get(key, default) has a default value for default.
-
Guido van Rossum authored
-
Casey Duncan authored
-
Guido van Rossum authored
Casey, you have the baton now.
-
Guido van Rossum authored
-
- 31 May, 2002 2 commits
-
-
Toby Dickenson authored
-
Toby Dickenson authored
merged toby-xmlrpclib099-branch. Changed ZPublisher xmlrpc support to allow published methods to return None nested inside a data structure
-
- 29 May, 2002 9 commits
-
-
Tim Peters authored
and code accordingly. Also rewrote the code to never create a new IIBucket unless one is really needed (for example, if the input list has only one (bucket, weight) pair, and the weight is 1, the input bucket can be returned as-is; and this case will be common with score maps produced by an Okapi index).
-
Fred Drake authored
so the import machinery is not invoked on each call.
-
Fred Drake authored
profile with a warm database cache instead of the cold cache.
-
Fred Drake authored
-
Guido van Rossum authored
-
Tim Peters authored
-
Andreas Jung authored
-
Guido van Rossum authored
-
Fred Drake authored
right. Added a comment explaining what it represents in the function.
-
- 28 May, 2002 5 commits
-
-
Tim Peters authored
CosineIndex.query_weight(): rewrote to squash code duplication. No change in what it returns (it's always returned an upper bound on possible doc scores, although people probably haven't thought of it that way before). Elsewhere: consequent changes. Problems: + mhindex.py needs repair, but I can't run it. Note that its current use of query_weight isn't legitimate (the usage doesn't conform to the IIndex interface -- passing a string is passing "a sequence", but not the intended sequence <wink>). + ZCTextIndex doesn't pass query_weight() on. + We've defined no methods to help clients compute what needs to be passed to query_weight (a sequence of only the positive terms). I changed mailtest.py to cheat, but it's doing a wrong thing for negative terms. + I expect it will be impossible to shake people from the belief that 100.0 * score / query_weight is some kind of "relevance score". It isn't. So perhaps better not to expose this in ZCTextIndex.
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
- 27 May, 2002 5 commits
-
-
Chris Withers authored
-
Tim Peters authored
-
Tim Peters authored
len(IIBTree) in these guys, so don't.
-
Tim Peters authored
expensive.
-
Tim Peters authored
to use both after the test to ensure they were the same.
-
- 24 May, 2002 3 commits
-
-
Guido van Rossum authored
guidelines. Added some conformance tests.
-
Casey Duncan authored
Fixed problem where external methods did not setup the func_defaults properly on first load. This resulted in ZPublisher being unable to properly arguments to Ex Methods on the first try.
-
Fred Drake authored
-
- 23 May, 2002 10 commits
-
-
Tim Peters authored
calling _add_wordinfo in a loop. This is a simple way to save oodles of functions calls. In a brief but non-trivial test, this boosted overall indexing rate by 12% (so huge bang for the buck).
-
Tim Peters authored
-
Guido van Rossum authored
-
Tim Peters authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Persistent class.
-
Guido van Rossum authored
-
Chris Withers authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Add -w and -W option to dump the word list (by word and by wid, respectively). Except KeyboardInterrupt from unqualified except clauses.
-