PluginsIndexes optimization try

Bug #143386 reported by Victor Safronovich
2
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released
Low
Hanno Schlichting

Bug Description

used multiunion in range search in Unindex._apply_index

added 3 new operators 'not', 'and_not', 'or_not' ( 'not'=='and_not' )

DataIndex._apply_undex used Unindex._apply_index

operators and useOperator became attributes of the Unindex Class

sorry for my bad english :((

Revision history for this message
Victor Safronovich (suvit) wrote :
Revision history for this message
Andreas Jung (ajung) wrote :

The patch is only acceptable if you provide a bunch of unittests for the new behaviour.

Revision history for this message
Tres Seaver (tseaver) wrote :

This patch unfortunately no longer applies cleanly. The ability to do 'not' searching does look useful, but would require adding tests, as Andreas noted.

Changed in zope2:
status: New → Triaged
Revision history for this message
Hanno Schlichting (hannosch) wrote :

Pretty much all the changes are part of ZCatalog trunk now - the `not` support has been released in 3.0a1 and extended to the DateIndex in trunk.

Changed in zope2:
assignee: nobody → Hanno Schlichting (hannosch)
milestone: none → 4.0a1
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.