IBM Support

JR49089: CMVC 233351 - Pull only direct parent category facets/allow a separate configurable category facet limit for keyword search

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When doing a keyword search that returns many results, spanning
    thousands of categories you may see slow page load time if the
    categories have not yet been cached. Under this specific use
    case we will return category facets for each result's parent
    hierarchy which will generate queries to the database for each
    category. This apar allows you make configuration changes so
    that you can
    
     1. Restrict category facet lookups to only direct parent
    category
     2. Specify a separate category facet limit to be used when
    doing keyword searches
    
     For example:
     You have a category structure like this:
    
     TopCategory
        Category1
          Catgeory2
            Catagory 3
              Product1
    
     If you do a keyword search for Product1, you will see a facet
    list like this:
    
     TopCategory (1)
     Category1  (1)
     Catgeory2 (1)
     Catagory 3 (1)
    
     And we will query the database for all 4 categories.  With the
    fix installed and configured(ie: <_config:property
    name="displayLeafCategoriesOnly" value="true"/>) to display only
    the direct parent you will see only:
     Catagory 3 (1)
    
     and only 1 category look up will be triggered.
    
     Additionally, this apar will allow you differentiate between
    the category facet limit when doing keyword search versus
    catalog navigation through the use of the new parameter:
     <_config:property name="categoryFacetLimitForKeywordSearch"
    value="5"/>
    

Local fix

Problem summary

  • Pull only direct parent category facets/allow a separate
    configurable category facet limit for keyword search
    

Problem conclusion

  • 1. Restrict category facet lookups to only direct parent
    category
    in wc-component.xml under
    wc/xml/config/com.ibm.commerce.catalog-fep
    change displayLeafCategoriesOnly to true, restart server
    <_config:property name="displayLeafCategoriesOnly"
    value="true"/>
    
    2. Specify a separate category facet limit to be used when doing
    keyword searches
     in wc-component.xml under
    wc/xml/config/com.ibm.commerce.catalog-fep
    change categoryFacetLimitForKeywordSearchto the desired value,
    ex. 5, restart server
    <_config:property name="categoryFacetLimitForKeywordSearch"
    value="5"/>
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR49089

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-20

  • Closed date

    2015-08-06

  • Last modified date

    2015-08-06

  • 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 EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
06 August 2015