Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Some CatalogTool methods ignore solr #5
are not patched by collective.solr and thus work on the standard ZCatalog. Some methods, e.g. reindexObjectSecurity(), rely on them to reindex objects. When clearing the standard Catalog and using solr for all indexes, this fails silently because said methods get no results from ZCatalog and don't reindex anything.
By patching the methods like this we were able to fix the issue:
Dispatching reindexObject is actually "wrong". This is a ZCatalog API, and we cannot simply ignore updating ZCatalog. Moving all indexes over to Solr is also not supported. You need at least the UID index in the ZCatalog.
But in general you probably don't want to loose transactional integrity for most queries, except for full text search.