Metadata Search is Not Taking the Format for Querytext (Doc ID 2265341.1)

Last updated on MAY 15, 2017

Applies to:

Oracle Documents Cloud Service - Version 14.1.0.0.0 to N/A
Information in this document applies to any platform.

Symptoms

Metadata Search is not taking the format for querytext:  Example 8 from the Rest API for Content Management guide: http://docs.oracle.com/en/cloud/paas/content-cloud/rest-api-content-management/op-documents-api-1.1-folders-search-items-get.html

The example below searches for folders or files with a specific metadata value in the user's home directory. This search includes the entire directory tree under the home directory and shared folders. The metadata value must be delimited by an encoded value of ` represented by %60.

GET .../folders/search/items?querytext=SearchableCollection.searchField1%60searchValue1%60


{
  "count": "0",
  "errorCode": "-64",
  "errorKey": "!csUnableToRetrieveSearchResults!csSearchQueryParserParsingError,XF2E666D6BB68B175CE0492A2D9<CONTAINS>%60Courtney%60,37",
  "errorMessage": "Unable to retrieve search results. Parsing error at character 37 in query: \"XF2E666D6BB68B175CE0492A2D9<CONTAINS>%60Courtney%60\".",
  "title": "Unable to retrieve search results. Parsing error at character 37 in query: \"XF2E666D6BB68B175CE0492A2D9<CONTAINS>%60Courtney%60\".",
  "type": "https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html"
}

Cause

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 hundreds of Community platforms