We migrated our portal from webspace to Liferay 5.2 SP5 EE. After migration, the lucene search index is not building properly.
I deleted the index from /data/lucene directory and rebuilt again but it has issues building users into the index properly.
Out of 1100 odd users, it builds 850 users perfectly fine and remaining users, it keeps logging errors such as the user with primary key does not exist.
We have an EE support and as i was unable to use LESA, i am reporting this issue here.