IBM Support

JR57658: Provide a configuration to enable/disable spellcheck suggestions reordering

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Spellcheck suggestions are originally returned by Solr's
    spellchecker in a certain order. However, Commerce can reorder
    the spellcheck suggestions based on how many Solr documents
    match on the given suggestions, which might not be the desired
    behavior in all cases.
    
    By default, collated spelling check response is re-sorted by
    search hits. For example, when you search "woo", spell check
    response return results [{wood,7},{wool,11},{work,8},{wide,13}].
     If sort by search hit, the response should be
    [{wide,13},{wool,11},{work,8},{wood,7}].
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce Version 7 and Version 8.
    
    PROBLEM ABSTRACT:
    Provide a configuration to enable/disable spellcheck suggestions
     reordering
    
    BUSINESS IMPACT:
    Spell check suggestions are sorted by search hits, which might
    not be how you want the suggestions feature to work.
    
    RECOMMENDATION:
    

Problem conclusion

  • Added a 'SortSpellCheckBySearchHit' flag in component
    configuration.
    
    When set to false, sorting is skipped and suggestions are
    returned in original collation.
    
    Default value is true.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR57658

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / New Function / Xsystem

  • Submitted date

    2017-03-27

  • Closed date

    2018-06-29

  • Last modified date

    2018-06-29

  • 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

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
11 December 2021