IBM Support

JR53565: unable to use some special characters when doing keyword search.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When searching for a term with a special character such as a $,
    Commerce returns the following error:
    
    Caused by: java.lang.IndexOutOfBoundsException: No group 5
        at java.util.regex.Matcher.group(Matcher.java:481)
        at
    java.util.regex.Matcher.appendReplacement(Matcher.java:748)
        at java.util.regex.Matcher.replaceFirst(Matcher.java:872)
        at java.lang.String.replaceFirst(String.java:1607)
        at
    com.ibm.commerce.foundation.server.services.rest.search.postproc
    essor.so
    lr.SolrRESTSearchSpellCheckSuggestionQueryPostprocessor.invoke(S
    olrRESTS
    earchSpellCheckSuggestionQueryPostprocessor.java:145)
    

Local fix

Problem summary

  • USERS AFFECTED:
    FEP7+ when using Search REST services.
    
    PROBLEM ABSTRACT:
    unable to use some special characters when doing keyword search.
    
    BUSINESS IMPACT:
    No spell corrections are returned under the Did you mean?
    section.
    
    RECOMMENDATION:
    

Problem conclusion

  • Added handling of special characters.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR53565

  • 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

    2015-06-10

  • Closed date

    2015-06-19

  • Last modified date

    2015-06-19

  • 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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
11 December 2021