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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

101 views 12 6
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