close

Filter

loading table of contents...

Release Notes / Version 12.2506.0

Table Of Contents

CAE Feeder Option to Inherit Indexed Valid Time From Navigation Contexts

The CAE Feeder can now be configured to feed index fields validfrom and validto not only based on a CMLinkable's own validFrom and validTo fields, but by also taking validFrom and validTo fields of its navigation contexts into account. If enabled and after corresponding content has been re-indexed, then website search will not return CMLinkable hits anymore if their page was marked as invalid for the current time. This new behavior can be enabled with Blueprint configuration property caefeeder.valid-time.inherit-from-navigation=true (default is false). The default behavior is the same as before, but changes in the CAE Feeder Spring configuration may require adjustments for project customizations.

  • Previously, feeding validfrom and validto index fields was configured in Blueprint Spring configuration apps/cae-feeder/modules/search/caefeeder-blueprint-component/src/main/resources/META-INF/coremedia/caefeeder.xml using BeanPropertyFeedableElementMapping elements. This has been replaced with the configuration of a newly introduced dedicated ValidTimeFeedablePopulator in com.coremedia.blueprint.caefeeder.config.CaeFeederBlueprintAutoConfiguration. If needed, you can still keep custom alternative logic for feeding the valid time using a BeanPropertyFeedableElementMapping. The ValidTimeFeedablePopulator runs afterward and doesn't do anything, if validfrom or validto elements are already set in the Feedable.

  • The Spring bean navigationPathKeyFactory that was used in Blueprint caefeeder.xml has been replaced with bean navigationPathContentsFunction. If you called method TreePathKeyFactory#getPath(Content) of the navigationPathKeyFactory bean in custom code, then you can replace such usages by calling the Function#apply(Content) method of the new navigationPathContentsFunction bean. For details, see also the API documentation of com.coremedia.blueprint.base.caefeeder.navigation.CaeFeederNavigationConfiguration#navigationPathContentsFunction.

  • Public API interface com.coremedia.cap.feeder.MutableFeedable got a new default method setDateElement(String, java.time.Instant, Map) that works like existing methods but supports values of new type java.time.Instant.

  • Note, that if you enable property caefeeder.valid-time.inherit-from-navigation=true to feed an existing index, then contents need to be re-indexed before changes will become effective for them. Also, automatic re-indexing of many contents may happen once, if validFrom or validTo is already set at transitive navigation contents and the CAE Feeder is re-indexing other content below that navigation.

  • For more details on feeding valid time, have a look at the CAE Feeder Java API documentation in packages com.coremedia.blueprint.base.caefeeder and com.coremedia.blueprint.base.caefeeder.navigation.

(CMS-27206)

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.