Suresh V. <suresh_vv@...> writes:
> Do I still need the portal_catalog if I enable solr?
> I cleared the portal_catalog to make the ZODB lighter but now
> the folder listing is showing up empty.
> 
> Do I still need the portal_catalog? Clear and Rebuild takes
> many hours and the ZODB becomes huge.

c.solr doesn't replace the entire catalog. It's only taken over text searches.
In general c.solr doesn't support all query options of the catalog, for example
some of the options of the extended path index. For other queries it's also
quite a bit slower, like simple UID lookups.

The whole non-transactional nature of Solr leads to various difficult to
understand problems. Results from Solr can point to content objects which were
deleted in Plone. In general changes to content in Plone won't be reflected
in Solr immediately. If you try to replace the catalog queries for folder
listings, collections or portlets with Solr, you'll likely run into a lot of
exceptions. Unfortunately the additional network overhead and XML
parsing for Solr responses also means that Solr is slower than the catalog for
quite some searches.

My advice after trying some of this: Use Solr for text searches and nothing
else. Unless you have a lot of knowledge about the technologies involved.

Sorry, there's no silver bullet for performance here.
Hanno

_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to