IBM Support

JR44172: CMVC 224307 - This fix is to add a grouping customization extension point for search requests

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • During customizing WebSphere Commerce Search to pass in
    parameters to enable Solr result grouping, an empty result set
    is returned from CatalogNavigationView service, while Solr does
    return the proper results.
    

Local fix

Problem summary

  • USERS AFFECTED:
    Shoppers
    
    PROBLEM ABSTRACT:
    
    Enable runtime logic and allow customization extension point to
    work with search result grouping.
    
    
    BUSINESS IMPACT:
    Business can now present search results in the storefront
    grouped by certain indexed product attribute
    
    RECOMMENDATION:
    
               A new configuration section, <_config:group>, will be
    added to the search profile which declares the result grouping
    field and parameter options.
    
                An optional parameter, limit, can specify the
    maximum number of results to return
                for each group.  The default value is 1.
    
                For example,
                <_config:param name="limit" value="99"/>
    
                Then following by a list of field names by which to
    group results. This field must
                be single-valued, and either be indexed or a field
    type that has a value source and
                works in a function query. It must also be a
    string-based field.
    
                For example,
       <_config:field name="mfName_ntk_cs" />
    
       Using this result grouping configuration, each of the search
    results will be tagged
       with a "groupname" and "groupvalue" in its MetaData property.
    These two properties
       can be used at the storefront for grouping similar results
    together for display.
       Using the above example when grouping by brand name, a
    product of brand ABC will be
       tagged with "groupname=mfName_ntk_cs" and "groupvalue=ABC".
    To retrieve this value
       using JSP expression language:
    ${catalogEntryView.metaData.groupname} or
       ${catalogEntryView.metaData.groupvalue}
    
       The total number of matches, as well as the number of groups
    that found matches, can
       be found from CatalogNavigationView's metaData map -
    "groupmatch" and "groupcount".
    
       Note that the "start" parameter ends up being re-purposed for
    grouping, as does the
       "rows" parameter.  When used in a grouped query, "start"
    refers to the group offset
       and "rows" refers to the number of groups to return.
    
       Restriction: Solr 3.5 does not support paginating at the
    group level.  Also it is
       recommended not to mix paging and grouping results together
    in a single search request.
    

Problem conclusion

  • What is provided in this APAR  is only a runtime enablement
    piece to allow you to build customization code for result
    grouping.   This is not a feature iFix for providing search
    result grouping support.
    
    -------------------------------------------------------------
    The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
    http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR44172

  • Reported component name

    WC BUS DEV ED W

  • Reported component ID

    5724I3900

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / New Function

  • Submitted date

    2012-09-24

  • Closed date

    2013-05-13

  • Last modified date

    2013-05-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WC BUS DEV ED W

  • Fixed component ID

    5724I3900

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSYT2H","label":"WebSphere Commerce Developer Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
07 December 2021