Broadleaf Microservices
  • v1.0.0-latest-prod

Search Services Release Notes for 2.1.3-GA

Tip
The 2.x versions are Spring Boot 3 compatible.

Requirements

  • JDK 17 is required for Broadleaf release trains 2.0.0-GA, and beyond.

Important Updates

Spring Boot Upgrade

  • As of Broadleaf Release Train 2.1.3-GA, all microservices have been upgraded to Spring Boot 3.3

New Features & Notable Changes

  • Added a hint to the Variant Type field in the Facet Form.

Bug Fixes

  • Search-redirect logic should be disabled in admin context

  • Fixed issue with gathering products for rule-based categories where these requests would previously return no results .com/BroadleafCommerce/AuthenticationServices/issues/909 (#1129))

  • Fixed a bug where a mismatched value for the Variant Type field was displayed when reading a Field Sort entity on the Admin’s Sort Options Form.

  • Updated the getRepositoryDomain() service methods and getDomainType repository methods in SearchServices to return the extended JPA classes rather than out-of-box classes.

  • Fixed an issue with ordering search facets where the API endpoint returned all facets, including unordered, in the selection. The API endpoint did not take the supplied isSorted parameter into consideration.

    • It is only possible to reorder an item after/before already sorted items.

  • Added an Is Sorted column to the Admin Facets grid.

  • Fixed NullPointerException when reindexing Order and OrderFulfillment without filters (full reindex)

  • Fix catalog sync and search group settings creation race condition

    • Don’t fail persistence of search group settings if the catalog does not already exist.

  • Added missing paging metadata for Search Settings groups.

  • Fixed issue where it was only possible to reorder an item after or before the already sorted item. Also added an "Is Sorted" column to improve UX.

  • Fixed incorrect paging issue when running large bulk operations on admin grids.

    • Added a default sort on ID when we run a solr query, the items in the document should always be in the same order and prevent items from being in multiple pages.

  • Fixed getManagedType() not pointing to JpaSearchSettingsRepository preventing logic to find derived class

    • Also removed final keyword from getManagedType() method for improved extension accessibility.

Configuration Properties

  • broadleaf.search.solr.sort.defaultAdminSortEnabled

    • Boolean denoting whether sorting is enabled by default

    • Default is true

  • broadleaf.search.solr.sort.defaultAdminSortField

    • Default field to sort by

    • Default is id

Backward Compatability

  • The protected method RSQLSolrQueryContributor#getCategoryProductMembershipFilter had its signature updated to now include ContextInfo as a parameter. This was done to fix an issue where Category Product Membership filters were not being applied correctly to the Search Solr query as they were missing the correct query locale. The ContextInfo parameter can be passed in order to identify the default Tenant locale as part of the LocaleHelper#getQueryLocale method that identifies the correct query locale.