IBM Support

JR46311: CMVC 228193 - SUGGESTIONCOUNT is not populated in SRCHSTAT table

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Steps to reproduce:
    
     - Enable search statistics
     - Search for a keyword that gives 0 search results but provides
    some suggested matches e.g.
     Search for 'socks' returns 0 matches but returns "Did you mean:
    'sofas', 'sous' ..."
     The results are displayed for the keyword 'sofas' and we see 9
    matches
     - Check the generated search statistics in the SRCHSTAT table:
     Observed results:
     KEYWORD: 'socks'
     SEARCHCOUNT: 0
     SUGGESTIONCOUNT: 0
     SUGGESTION: 'sofas, sous, books, looks, rocky'
    
     Expected results:
     SUGGESTIONCOUNT: 9
     as there are 9 search results displayed for the top suggestion
    

Local fix

Problem summary

  • USERS AFFECTED:
     WebSphere Commerce v7 users who are using Solr search with
    statistics enabled
    
     PROBLEM ABSTRACT:
     SUGGESTIONCOUNT is not populated in SRCHSTAT table
    
     BUSINESS IMPACT:
     Business users will be unable to collect statistics on the
    number of matches for suggested search results
    
     RECOMMENDATION:
    

Problem conclusion

  • 1. After updating suggestioncount in the navigation view
    mediator, if it reached the cache number, code will insert
    records.
     2. Only inserts search count which is not zero or search count
    which is zero but suggestion is null into SRCHSTAT table when
    the cache number is reached.
     -------------------------------------------------------------
     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

    JR46311

  • Reported component name

    WC EXP EDITION

  • Reported component ID

    5724I3600

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-11

  • Closed date

    2013-10-07

  • Last modified date

    2013-10-07

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

  • Fixed component ID

    5724I3600

Applicable component levels

  • R700 PSY

       UP

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

Document Information

Modified date:
07 October 2013