Search throws a System Error after upgrading Confluence

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When using the search functionality after upgrading Confluence the search will return a system error:

The following appears in the atlassian-confluence.log:

2014-06-23 08:25:30,176 ERROR [http-bio-80-exec-629] [common.error.jersey.ThrowableExceptionMapper] toResponse Uncaught exception thrown by REST service: org.apache.lucene.search.FieldCache.getStrings(Lorg/apache/lucene/index/IndexReader;Ljava/lang/String;)[Ljava/lang/String;
 -- referer: http://wiki.pcmiracles.com/dashboard.action | url: /rest/quicknav/1/search | userName: john.hutson
java.lang.NoSuchMethodError: org.apache.lucene.search.FieldCache.getStrings(Lorg/apache/lucene/index/IndexReader;Ljava/lang/String;)[Ljava/lang/String;
	at com.atlassian.confluence.plugins.awesomesearch.DocToEntityIdConverter.getEntityIdFromDoc(DocToEntityIdConverter.java:18)
	at com.atlassian.confluence.plugins.awesomesearch.UserHistoryBoostingStrategy.boost(UserHistoryBoostingStrategy.java:28)
	at com.atlassian.confluence.plugins.awesomesearch.UserHistoryBoostingStrategy.boost(UserHistoryBoostingStrategy.java:52)

Cause

This is caused because the Confluence Awesome Search plugin is not longer compatible with the upgraded Confluence version, to address this miss behaviour it's necessary to remove this third party plugin.

Resolution

  1. Go to manage Add ons page.
  2. Search and Uninstall the plugin "Confluence Awesome Search".
  3. Shutdown Confluence.
  4. Clear Confluence Plugin Cache
  5. Rebuild Confluence Content Indexes from Scratch
  6. Start Confluence.
  7. Try Searching again.
Last modified on Nov 15, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.