My Oracle Support Banner

After Lucene Jar Upgrade, Sorting Of Content Is Not Working And As Result Search Is Not Working: "unexpected docvalues type NONE for field '{field_name}' (expected=SORTED). Re-index with correct docvalues type." (Doc ID 2634216.1)

Last updated on AUGUST 14, 2020

Applies to:

Oracle WebCenter Sites - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

After Applying 12.2.1.2.181015, Search API Sorting Not Working: "unexpected docvalues type NONE for field '{field_name}' (expected=SORTED). Re-index with correct docvalues type."

Below is the code that is not working now.



If we take out sorting from the search, then it works
def results = newSearcher().inSite(SITE).from({asset_type}).searchFor({search_term});

Changes

 

Cause

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

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


In this Document
Symptoms
Changes
Cause
Solution
References


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