{ "info": { "author": "Maurits van Rees", "author_email": "m.van.rees@zestsoftware.nl", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Framework :: Plone :: 3.3", "Framework :: Plone :: 4.0", "Framework :: Plone :: 4.1", "Framework :: Plone :: 4.2", "Framework :: Plone :: 4.3", "Programming Language :: Python", "Programming Language :: Python :: 2.4", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": ".. contents::\n\n\nDocumentation\n=============\n\n\nGoal and usage\n--------------\n\nAdd collective.noindexing to the eggs in your buildout (and to zcml on\nPlone 3.2 or earlier). This makes two browser views available on the\nPlone Site root: ``@@collective-noindexing-apply`` and\n``@@collective-noindexing-unapply``. The first applies some patches\nand the second undoes the patching. Both can be called multiple times\nsafely.\n\nPatch only a single index (reindex, index, unindex) is also possible:\n``@@collective-noindexing-apply?no-reindex=1``\n``@@collective-noindexing-apply?no-index=1``\n``@@collective-noindexing-apply?no-unindex=1``\n\nOr combined:\n``@@collective-noindexing-apply?no-unindex=1&no-reindex=1``\n\nOr all:\n``@@collective-noindexing-apply``\n\nThis patches some catalog methods so no indexing, reindexing or\nunindexing is done at all. The idea is that you use this package so\nyou can quickly move a big part of your Plone Site to a different\nfolder without having to worry about indexing. It really makes moving\na lot faster. You do the indexing later, probably by doing a catalog\nclear and rebuild; you have a bit more control there about\nsubtransactions, to help avoid a ``MemoryError`` or ``[Errno 24] Too\nmany open files``. A script to run the catalog clear and rebuild with\nsome intermediate commits can help here for large sites; see for\nexample\nhttp://svn.plone.org/svn/plone/Products.PloneOrg/trunk/scripts/catalog_rebuild.py\n\n\nNotes\n-----\n\n- The patches do not apply to ``ATBTreeFolders`` like the standard\n Members, events and news Large Plone Folders from Plone 3. This is\n not deliberate, so it might change in the future, but for now I do\n not mind. It works fine for folders in Plone 4.\n\n- It works for Dexterity content too.\n\n\nAlternatives\n------------\n\n- Go to the ``archetype_tool`` object in the ZMI, and then to the\n Catalogs tab. Switching off ``portal_catalog`` in all the types\n there should have basically the same effect.\n\n- Add ``Products.QueueCatalog`` and ``Products.PloneQueueCatalog`` to\n the eggs of your buildout. In the ``portal_quickinstaller`` install\n PloneQueueCatalog. This renames the ``portal_catalog`` to\n ``portal_catalog_real`` and creates a ZCatalog Queue with the id\n ``portal_catalog``. The standard settings worked fine for me. You\n now do that large move. In the fresh ``portal_catalog`` you go to\n the Queue tab. It should say you have lots of items in the queue,\n in my case around 12,000. Clicking the 'Process Queue' button will\n by default process just twenty items of that queue. You can\n increase that number. This is an easy way of avoiding MemoryErrors\n during indexing, as the total number of objects reindexed in one go\n will be as low as you want.\n\n Note that I tried this but ran into problems as this website had the\n ``portal_catalog`` in a separate CatalogData.fs, which worked fine\n until I restarted the zeoclient. With some tinkering it should\n work, but I did not want to bother with that. We can revisit that\n when indexing becomes a problem all the time instead of just once\n for a clear and rebuild.\n\n\nAuthors\n-------\n\nMaurits van Rees\n\nChangelog\n=========\n\n1.4 (2013-03-26)\n----------------\n\n- make patching a single index method (index, reindex, unindex) possible\n [maartenkling]\n\n\n1.3 (2012-09-24)\n----------------\n\n- Add more (test) dependencies in setup.py.\n [maurits]\n\n- Moved to https://github.com/collective/collective.noindexing\n [maurits]\n\n\n1.2 (2012-04-18)\n----------------\n\n- Fixed the unapply method so a second apply will work correctly.\n [maurits]\n\n- Added tests with plone.app.testing.\n [maurits]\n\n- Added compatibility with Plone 4.1, by loading Products.CMFCore zcml\n for the permissions.\n [maurits]\n\n\n1.1 (2011-01-04)\n----------------\n\n- Moved most logging to debug level as it quickly becomes noise in\n situations where you most need this package.\n [maurits]\n\n\n1.0 (2010-04-09)\n----------------\n\n- Initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/collective/collective.noindexing", "keywords": "", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.noindexing", "package_url": "https://pypi.org/project/collective.noindexing/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.noindexing/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/collective/collective.noindexing" }, "release_url": "https://pypi.org/project/collective.noindexing/1.4/", "requires_dist": null, "requires_python": null, "summary": "Ignore all indexing operations", "version": "1.4" }, "last_serial": 740602, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "1f0ef6a538d7b847d1a46cc8f48ffdf5", "sha256": "30a50aabf1d6b4d9467c4e854112b9b977820d24ccf0e0b6e20a04fdea2e9a46" }, "downloads": -1, "filename": "collective.noindexing-1.0.zip", "has_sig": false, "md5_digest": "1f0ef6a538d7b847d1a46cc8f48ffdf5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18428, "upload_time": "2010-04-09T14:45:32", "url": "https://files.pythonhosted.org/packages/2d/13/5dcb5b059ecff10d9bd1826880ba8355c2107a1ec379cbb006646ed2507d/collective.noindexing-1.0.zip" } ], "1.0dev": [], "1.1": [ { "comment_text": "", "digests": { "md5": "234a703b3f450bdfabf6a4ce163b182d", "sha256": "b4ec9b85cb1fdcdb4146a45edeaf8de1b4ac27766aa5689fe2eaaee438e6f610" }, "downloads": -1, "filename": "collective.noindexing-1.1.zip", "has_sig": false, "md5_digest": "234a703b3f450bdfabf6a4ce163b182d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18741, "upload_time": "2011-01-04T12:48:59", "url": "https://files.pythonhosted.org/packages/4a/90/190c01cffa668abca1b51d7a21a985a1acc89fb9f2bd5eb45784ae1a02b0/collective.noindexing-1.1.zip" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "b8be6309bc892fbb292b04641097612c", "sha256": "2485e5bed169bd58b2ceb7e473de58c039159a0698cb72a9907c8baed1b3a99d" }, "downloads": -1, "filename": "collective.noindexing-1.2.zip", "has_sig": false, "md5_digest": "b8be6309bc892fbb292b04641097612c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23986, "upload_time": "2012-04-18T19:51:24", "url": "https://files.pythonhosted.org/packages/75/90/acc14d348980c3ff07890b94c74c0c7c85a9cef9f34ff9c55b6e2f86ca15/collective.noindexing-1.2.zip" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "9dad2ff17b66bf7ec1a3c24addd1d677", "sha256": "ba712eb1fe8ff3382f1cceb17beae74b95f5ef4924080f4aaa0427a3a467d833" }, "downloads": -1, "filename": "collective.noindexing-1.3.zip", "has_sig": false, "md5_digest": "9dad2ff17b66bf7ec1a3c24addd1d677", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26067, "upload_time": "2012-09-24T16:34:04", "url": "https://files.pythonhosted.org/packages/40/aa/abe01428e77bdcfbc8146d2771b0407d41eaef303d17b2eef81f0441b52c/collective.noindexing-1.3.zip" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "ecdc19b173ceba76952b613199f4e457", "sha256": "ff1b8d324e91b1c4be1ef509e03e318ab2f61d3bdbcda1fcd9ad03c27e0be2c9" }, "downloads": -1, "filename": "collective.noindexing-1.4.zip", "has_sig": false, "md5_digest": "ecdc19b173ceba76952b613199f4e457", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28932, "upload_time": "2013-03-26T10:09:47", "url": "https://files.pythonhosted.org/packages/1a/db/532c3198a7df80467dfa6104288b229f3ad12d06b788710c29344708110f/collective.noindexing-1.4.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ecdc19b173ceba76952b613199f4e457", "sha256": "ff1b8d324e91b1c4be1ef509e03e318ab2f61d3bdbcda1fcd9ad03c27e0be2c9" }, "downloads": -1, "filename": "collective.noindexing-1.4.zip", "has_sig": false, "md5_digest": "ecdc19b173ceba76952b613199f4e457", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28932, "upload_time": "2013-03-26T10:09:47", "url": "https://files.pythonhosted.org/packages/1a/db/532c3198a7df80467dfa6104288b229f3ad12d06b788710c29344708110f/collective.noindexing-1.4.zip" } ] }