Broadleaf Microservices
  • v1.0.0-latest-prod

Search Services Release Notes for 2.1.4-GA

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

Requirements

  • This version requires CatalogService 2.1.4+

New Features & Notable Changes

  • Automatically delete Facets and Sort options after deleting a related Field.

    • The broadleaf.search.auto-delete-related-search-entities=true property is used to enable or disable this feature. It is enabled by default.

  • Added a configurable delay between start times of indexer threads to spline CPU spikes during the initial launch of index thread executors

    • The broadleaf.indexer.pause-between-threads-start property is introduced, default is 2000 ms

  • Added additional customizability around Field Sorts.

    • Field Sorts can now be individually labeled for ascending and descending options and can be restricted to only ascending or only descending.

  • Added additional event handling for indexing products so they can correctly show up in the back end sorting views before promoting.

Enhancements

  • Added a delay between the start of indexing threads to reduce overlap of threads occurring at the same time.

  • Replaced instances of isForceCatalogForFetch with isForceFilterByCatalogIncludeInheritance due to deprecation.

    • This should be updated in any customizations when upgrading to this version.

  • Added logic and changelogs to allow Search to utilize applicationName and apply narrowing to it.

    • This is mainly utilized to help functionality around Tenant level order views.

    • Updates the BLC_FIELD table changelog so the entries can correctly be populated.

  • Added an optimization which determines if microservice interlink requests should be optimized with a direct method call when the targeted service is colocated in the same flexpackage. This saves on expenses related to socket creation, json serialization/deserialization, and SSL encryption and handshake.

    • Utilizes an optional property broadleaf.indexer.catalog.service.loopbackOptimizationEnabled which is enabled by default.

    • This is must be paired with a property outlined in 2.0.5 MicroExtensionCommon.

Bug Fixes

  • Fixed an issue where pending marketplace catalogs would not surface products in the Admin application for the parent.

  • Removed wildcard characters from groupIndexableType equals filters to prevent the filter from acting as a "like" instead of "equals".

  • Fixed a bug where a decoder would throw an error when encountering a % for a Solr filter.

  • Added the ability to override locale in search requests to fix an issue where translations would not show up for Facets in the Admin list grids.

  • Fixed a NPE issue in the DefaultDocumentBuilderHelper where a rootObject could be null and unchecked.

  • Fix search of products from marketplace catalogs with pending status in admin and storefront context