index without position data confluence error

Hello Team,

I have upgraded confluence From 4.3 to 5.1 and then 5.2. 

But for 5.1 i have not checked all the plugins compatibility.

upgradation is successful. But whenever i am searching in confluence search its throwing below error.

Java.lang.IllegalStateException: field "title" was indexed without position data; cannot run SpanTermQuery (term=resource)

i have recreated indexes from scracth, Rebild all indexes, disable all custom plugins and but this error is still in system.

please let me know your suggection how i can fix this issue.


Thank you,



1 answer

1 accepted

0 votes
Accepted answer

Hello Tousif,

I do believe that something went wrong with the upgrade after 4.3. Have you tried to revert and upgrade Confluence again, but before that removed the third party plugins from Confluence to make sure that there aren't compatibility issues caused by them?

I recommend to:

1) Backup Confluence database and try to remove all third party plugins from the instance by running the following commands:

  •  Shutdown Confluence
  •  Make a backup of the database
  •  Remove The following folders:
  • * <confluence-home>/bundled-plugins folder
  • * <confluence-home>/plugin-cache folder
  • * <confluence-home>/plugins-osgi-cache folder
  • * <confluence-home>/plugins-temp folder
  •  Run this query to remove all plugins from *PLUGINDATA*:
  • {code}delete from plugindata;{code}
  •  Perform a Select from BANDANA to see the state of plugins:
  • {code}select BANDANAVALUE from BANDANA where BANDANAKEY = 'plugin.manager.state.Map';{code}
  •  Update this to '</map>':
  • {code}UPDATE BANDANA SET BANDANAVALUE='<map/>' WHERE BANDANAKEY='plugin.manager.state.Map';{code}
  •  This will Enable All plugin.
  •  Delete the <confluence-home>/index folder
  •  Restart Confluence
  •  Rebuild all indexes again and check if the issue persists

2) If the issue persists, there is some corruption caused by the upgrade. Try to restore the 4.3 version into a staging instance and perform a new upgrade without all third party plugins and check if that resolves.




Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

473 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you