APAR status
Closed as program error.
Error description
In IBM WebSphere Commerce, while performing a SOLR search, the following error is encountered: [3/17/11 15:29:39:791 EDT] 00000085 SolrCore E org.apache.solr.common.SolrException log org.apache.solr.common.SolrException: org.apache.lucene.queryParser.ParseException: Cannot parse '( +productset_id:(( +*:* +( +*:* --50000))) +*:*)': Encountered " "-" "- "" at line 1, column 34. Was expecting one of: "(" ... "*" ... <QUOTED> ... <TERM> ... <PREFIXTERM> ... <WILDTERM> ... "[" ... "{" ... <NUMBER> ... <TERM> ... "*" ... This problem will only occur if negative primary keys are used. Typically, negative primary keys are reserved for internal IBM use, custom code should be changed to not utilize negative primary keys.
Local fix
Problem summary
USERS AFFECTED: All WebSphere Commerce v7 FEP 2 customers PROBLEM ABSTRACT: Error caused by negative number in SOLR expression quotes in attribute value causes search to fail BUSINESS IMPACT: Store error page shown to shopper. RECOMMENDATION:
Problem conclusion
The code flow has been modified such that all numeric qualifiers are properly quoted to avoid negative signs being treated as a search command operators. All facet-able values are now inspected and properly encoded during transmission. ------------------------------------------------------------- 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
JR39480
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
2011-04-28
Closed date
2011-06-30
Last modified date
2011-06-30
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:
30 June 2011