Content Availability, Solr and thelepathy

Last time I had a strange issue. I configured CA feature on production as on the test environment and… surprise, surprise feature is not working. As you can read in my previous articles about Content Availability, this feature base on Solr indexes. I decide to ask Solr

First I go and check schema to verify if all fields required by Content Availability feature are in the index:

  • versionsunrisedate
  • versionsunsetdate
  • publishablefrom
  • publishableto

Fields are in the index, this part is OK. Maybe logs tell me something.

Field _isAvailable is a virtual field defined in configuration file Sitecore.Publishing.Service.ContentAvailability.solr.config. I copy this to CD and issue gone.

The solution

I still don’t know how it is working on two test environments, without this file on CD server, but Yoda knows.

You can read more interesting details about Publishing services and Content Availability:

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: