My Oracle Support Banner

An Error Occurs When Specifying OnFailure On CrossFieldMatch Of Search Interfaces (Doc ID 2390316.1)

Last updated on APRIL 24, 2018

Applies to:

Oracle Commerce Guided Search / Oracle Commerce Experience Manager - Version 11.3 and later
Information in this document applies to any platform.


On : 11.3 version, Customer Experience (Xmgr, Assembler, Workbench, Application Development)

An error occurs when specifying onFailure on crossFieldMatch of search interfaces

If "always" or "never" was specified, no error occurred.

· Contents of JSON document of search interfaces
 "ecr:type" : "search-interface",
 "crossFieldMatch" : "onFailure",
 "fields" : [ {
  "attribute" : "ITEM_CODE"
 }, {
  "attribute" : "ITEM_NAME"
 } ]



· Error log when executing
SEVERE: Config service error: Validation failed with 1 error [Invalid attribute value "ONFAILURE" in attribute "CROSS_FIELD_BOUNDARY" in element "SEARCH_INTERFACE" in config document recsearch_config at line xx, column xx]

The issue can be reproduced at will with the following steps:
1.Navigate to till import/searchInterfaces/All and edit the _json .
2. Now change the crossFieldMatch value as "onFailure" , it will be "always" by default.

3.Now run PromoteContent.bat




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.