IBM Support

JR59410: Irrelevant search results if you search by using a single search term

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • During construction of the SearchExpression By SearchType, a
    quote is not added to the final Solr query's "q".
    
    Because of this missing quotation mark, when the term contains
    numbers and letters or delimiter, the WordDelimiterFilterFactory
     will parse the term into multiple terms. For example, the
    search term A_1984 will be separated into "A" and "1984".
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce Version 8.
    
    PROBLEM ABSTRACT:
    Irrelevant search results if you search by using a single search
     term
    
    BUSINESS IMPACT:
    Shoppers get irrelevant search results.
    
    RECOMMENDATION:
    

Problem conclusion

  • Updated to append double quote character when there is only one
    single term. This is to avoid Solr WordDelimiterFilterFactory
    parsing by number, by case change,  etc, such as 'N_dress' or
    'k40abc'. The original intention is to find the exact match with
     "N_dress", "ND1990", but Solr will parse it
    (defaultSearch:nd1990 defaultSearch:nd) defaultSearch:1990)
    |
    partNumber_ntk:nd1990^15.0
    |
    (((shortDescription:nd1990 shortDescription:nd)
    shortDescription:1990)^5.0)
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR59410

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-04-11

  • Closed date

    2018-06-14

  • Last modified date

    2018-06-14

  • 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