[Checkins] [zopefoundation/Products.ZCatalog] 5dcc5f: Rename `parseIndexRequest` to `IndexQuery` and mov...
GitHub
noreply at github.com
Sat Aug 27 13:02:20 CEST 2016
Branch: refs/heads/master
Home: https://github.com/zopefoundation/Products.ZCatalog
Commit: 5dcc5f6087ea0683810820674eea593ef9534c82
https://github.com/zopefoundation/Products.ZCatalog/commit/5dcc5f6087ea0683810820674eea593ef9534c82
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2016-08-27 (Sat, 27 Aug 2016)
Changed paths:
M CHANGES.rst
M src/Products/PluginIndexes/BooleanIndex/BooleanIndex.py
M src/Products/PluginIndexes/CompositeIndex/CompositeIndex.py
M src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
M src/Products/PluginIndexes/PathIndex/PathIndex.py
M src/Products/PluginIndexes/TopicIndex/TopicIndex.py
M src/Products/PluginIndexes/common/UnIndex.py
R src/Products/PluginIndexes/common/tests/test_util.py
M src/Products/PluginIndexes/common/util.py
A src/Products/ZCatalog/query.py
M src/Products/ZCatalog/tests/test_catalog.py
A src/Products/ZCatalog/tests/test_query.py
Log Message:
-----------
Rename `parseIndexRequest` to `IndexQuery` and move it to `ZCatalog.query`.
Commit: bd61d92e5aa4afafd2b84035a5cf81c5d039cda3
https://github.com/zopefoundation/Products.ZCatalog/commit/bd61d92e5aa4afafd2b84035a5cf81c5d039cda3
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2016-08-27 (Sat, 27 Aug 2016)
Changed paths:
M CHANGES.rst
M src/Products/PluginIndexes/BooleanIndex/BooleanIndex.py
M src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
M src/Products/PluginIndexes/PathIndex/PathIndex.py
M src/Products/PluginIndexes/TopicIndex/TopicIndex.py
M src/Products/PluginIndexes/common/UnIndex.py
M src/Products/PluginIndexes/interfaces.py
M src/Products/ZCatalog/Catalog.py
Log Message:
-----------
Add new IQueryIndex interface for indices.
This introduces a new `query` method on each index with a simplified
contract compared to `_apply_index`. The responsibility for parsing and
skipping the query has moved into the catalog, and the return value no
longer has to be a tuple of (result, used_attributes), as the later
wasn't used by the catalog.
Compare: https://github.com/zopefoundation/Products.ZCatalog/compare/e985a50a26a8...bd61d92e5aa4
More information about the checkins
mailing list