CompositeIndex README
Overview
CompositeIndex is a plugin index for the ZCatalog. Indexes containing
more than one attribute to index an object are called “composite
index”. Such indexes should be created if you expect to run
queries that will have multiple attributes in the search phrase
and all attributes combined will give significantly less hits
than the any of the attributes alone. The key of a composite
index is called “composite key” and is composed of two or more
attributes of an object.
Catalog queries containing attributes managed by CompositeIndex
are transparently catched and transformed seamlessly into a
CompositeIndex query. In particular, large sites with a
combination of additional indexes (FieldIndex, KeywordIndex, BooleanIndex)
and lots of content (>100k) will profit. The expected performance
enhancement for combined index queries is about a factor of >2-3.
For example many catalog queries in plone are based on the combination of
indexed attributes as follows: 'Language', 'review_state',
'portal_type' and 'allowedRolesAndUsers'. Normally, the ZCatalog
sequentially executes each corresponding atomic index and
calculates intersection between each result. This strategy, in
particular for large sites, decreases the performance of the
catalog and simultaneously increases the volatility of ZODB’s
object cache, because each index individually has a high number
of hits whereas the the intersection between each index result
has a low number of hits.
CompositeIndex overcomes this difficulty because it already
contains a pre-calculateted intersection by means of its
composite keys. The loading of large sets and the following
expensive computation of the intersection is therefore obsolete.
IMPORTANT: CompositeIndex can only be used as an add-on not as
a replacement for field, keyword and boolean indexes.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
资源分类:Python库 所属语言:Python 资源全名:Products.ZCatalog-4.3.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
Python库 | Products.ZCatalog-4.3.tar.gz (151个子文件)
buildout.cfg 338B
setup.cfg 199B
.coveragerc 57B
catalogReport.dtml 4KB
catalogAdvanced.dtml 4KB
catalogIndexes.dtml 3KB
manageCompositeIndex.dtml 3KB
catalogObjectInformation.dtml 3KB
catalogFind.dtml 3KB
catalogView.dtml 3KB
manageTopicIndex.dtml 3KB
browseIndex.dtml 2KB
queryLexicon.dtml 2KB
catalogSchema.dtml 2KB
catalogStatus.dtml 2KB
browseIndex.dtml 2KB
addZCTextIndex.dtml 2KB
addDateRangeIndex.dtml 2KB
addLexicon.dtml 2KB
manageDateRangeIndex.dtml 2KB
addKeywordIndex.dtml 1KB
addBooleanIndex.dtml 1KB
addFieldIndex.dtml 1KB
addCompositeIndex.dtml 1KB
addUUIDIndex.dtml 1KB
addTopicIndex.dtml 1KB
addPathIndex.dtml 1KB
addDateIndex.dtml 977B
editFilteredSet.dtml 883B
addZCatalog.dtml 821B
manageZCTextIndex.dtml 744B
addIndexForm.dtml 635B
manageLexicon.dtml 527B
editCatalogerForm.dtml 495B
catalogPlan.dtml 349B
manageBooleanIndex.dtml 254B
manageDateIndex.dtml 196B
managePathIndex.dtml 196B
manageFieldIndex.dtml 196B
manageKeywordIndex.dtml 196B
manageUUIDIndex.dtml 194B
lexicon.gif 364B
index.gif 111B
tox.ini 893B
not-zip-safe 1B
PKG-INFO 19KB
PKG-INFO 19KB
Catalog.py 43KB
test_catalog.py 40KB
ZCatalog.py 36KB
testZCTextIndex.py 29KB
unindex.py 25KB
tests.py 20KB
CompositeIndex.py 16KB
test_zcatalog.py 14KB
testCompositeIndex.py 14KB
tests.py 14KB
ZCTextIndex.py 14KB
test_plan.py 14KB
DateRangeIndex.py 13KB
BaseIndex.py 13KB
OkapiIndex.py 13KB
testQueryParser.py 13KB
tests.py 12KB
plan.py 12KB
interfaces.py 11KB
testIndex.py 11KB
tests.py 10KB
interfaces.py 10KB
tests.py 10KB
BooleanIndex.py 9KB
tests.py 9KB
testLexicon.py 9KB
PathIndex.py 9KB
interfaces.py 9KB
QueryParser.py 8KB
TopicIndex.py 7KB
Lexicon.py 7KB
DateIndex.py 7KB
tests.py 6KB
test_unindex.py 6KB
KeywordIndex.py 6KB
__init__.py 6KB
test_brains.py 6KB
RiceCode.py 5KB
testSetOps.py 5KB
test_zodb.py 5KB
CosineIndex.py 5KB
ZCatalogIndexes.py 4KB
UUIDIndex.py 4KB
WidCode.py 4KB
query.py 4KB
CatalogBrains.py 4KB
ParseTree.py 4KB
tests.py 3KB
test_query.py 3KB
FilteredSet.py 3KB
testNBest.py 3KB
testHTMLSplitter.py 3KB
ProgressHandler.py 3KB
共 151 条
- 1
- 2
资源评论
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功