Collective.solr

Latest version: v9.4.0

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 17

3.0a1

------------------

Upgrade notes
*************

* Changed the names of the indexes used to emulate the `path` index. You need
to adjust your schema and rename `physicalPath` to `path_string`,
`physicalDepth` to `path_depth` and `parentPaths` to `path_parents`. This
also requires a full Solr reindex to pick up the new data.
[hannosch]

Changes
*******

* Added `object_provides` index to example schema, as it's used in the
collection portlet to find collections.
[hannosch]

* Rewrote the `maintenance/sync` method for more performance, dropped the
optional `path` restriction from it and removed the `cache` argument. It
should be able to sync datasets in the 100,000 object range in the matter of
a couple minutes.
[hannosch]

* Changed the `maintenance/reindex` method to only flush data to Solr but not
commit after each batch. Instead we only commit once at the end. You should
configure auto commit policies on the Solr server side or `commitWithin`.
[hannosch]

* Adjusted the `mangleQuery` function to calculate extended path indexes from
the Solr schema instead of hardcoding `path`. If you have any additional
extended path indexes, you need to provide indexers with the same three
suffixes as we do ourselves in the `attributes` module for the `path` index
and add those to the Solr schema.
[hannosch]

* Added documentation on Java process, monitoring production settings and
include a number of useful munin plugin configurations.
[hannosch]

* Updated example config to include production settings and JMX.
[hannosch]

* Updated example config to collective.recipe.solrinstance 3.1 and Solr 3.2.
[hannosch]

2.0

----------------

* Updated readme and project description, adding detailed information about how
Solr works and how we integrate with it.
[hannosch]

2.0b2

------------------

* Added optional support for the `Lazy` backports founds in catalogqueryplan.
[hannosch]

* Fixed patch of LazyCat's `__add__` method to patch the base class instead, as
the method was moved.
[hannosch]

* Updated test config to Solr 3.1, which should be supported but hasn't seen
extensive production use.
[hannosch]

* Avoid using the deprecated `five:implements` directive.
[hannosch]

2.0b1

------------------

* Rewrite the `isSimpleSearch` function to use a less complex regular
expression, which doesn't have O(2**n) scaling properties.
[hannosch]

* Use the standard libraries doctest module.
[hannosch]

* Fix the pretty_title_or_id method from PloneFlare; the implementation
was broken, now delegates to the standard Plone implementation.
[mj]

2.0a3

------------------

* In `solr_dump_catalog` correctly handle boolean values and empty text fields.
[hannosch]

2.0a2

------------------

* Provide a dummy request in the `solr_dump_catalog` command.
[hannosch]

Page 12 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.