1. 15 May, 2002 3 commits
    • Tim Peters's avatar
      db9cf10c
    • Tim Peters's avatar
      f4c2c29b
    • Tim Peters's avatar
      Squash bug duplication by moving the clever mass-union and mass- · 08fe38f4
      Tim Peters authored
      intersection gimmicks into their own functions with their own test suite.
      
      This turned up two bugs:
      
      1. The mass weighted union gimmick was incorrect when passed a list with
         a single mapping.  In that case, it neglected to multiply the mapping
         by the given weight.
      
      2. The underlying weighted{Intersection, Union} code does something crazy
         if you pass it weights less than 0.  I had vaguely hoped to be able
         to subtract scores by passing 1 and -1 as weights, but this doesn't
         work.  It's hard to say exactly what it does then.  The line
             weightedUnion(IIBTree(), mapping, 1, -2)
         seems to return a mapping with the same keys, but *all* of whose
         values are -2, regardless of the original mapping's values.
      08fe38f4
  2. 14 May, 2002 21 commits
  3. 13 May, 2002 1 commit
  4. 10 May, 2002 3 commits
  5. 09 May, 2002 2 commits
  6. 07 May, 2002 5 commits
  7. 06 May, 2002 1 commit
  8. 03 May, 2002 2 commits
    • Andreas Jung's avatar
      Eased the query optimization introduced with Zope 2.4.X · bbddef1c
      Andreas Jung authored
      (revision 1.72 or Catalog.py).
      
      TTW searches are no longer optimized to restore the old
      behaviour (user does not fill out any form fields ->
      return all hits)
      
      For application related searches we keep the optimization
      but it is possible to disable optimization by passing
      'optimize=0' as additional parameters to searchResults().
      bbddef1c
    • Andreas Jung's avatar
      fixed typo · e9c8fea9
      Andreas Jung authored
      e9c8fea9
  9. 30 Apr, 2002 2 commits