Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay 7 when adding user we want to stop the index
Hi ,When adding the role(only one role) to user it's taking long time and when verified the source code back end it's reindexing.is there any properties to stop the re-indexing the user ?if we stop the re-indexing then it's any issues with searching the documents in search portlet?
Regardssrini
Regardssrini
srini vasulu:
Hi ,When adding the role(only one role) to user it's taking long time and when verified the source code back end it's reindexing.is there any properties to stop the re-indexing the user ?if we stop the re-indexing then it's any issues with searching the documents in search portlet?
Which exact version are you on? And can you reproduce on the latest update of that version, or the latest release?
Also, users must be indexed, as the user management UI relies on this. And it should only be one user that's indexed with each user account modification - my first instinct is that omitting indexing of that one user will not provide the solution to your problem.
Olaf Kock:
Hi Olaf kock ,srini vasulu:
Hi ,When adding the role(only one role) to user it's taking long time and when verified the source code back end it's reindexing.is there any properties to stop the re-indexing the user ?if we stop the re-indexing then it's any issues with searching the documents in search portlet?
Which exact version are you on? And can you reproduce on the latest update of that version, or the latest release?
Also, users must be indexed, as the user management UI relies on this. And it should only be one user that's indexed with each user account modification - my first instinct is that omitting indexing of that one user will not provide the solution to your problem.
i am using 7.0 GA6, i did not checked in latest versions. the role i am using is assigned to nearly 50000 document files. and i am trying to add the role to user it's taking very long time nearly 5 to 6 minutes. it's very long time. for remain all roles it's taking very less time. when we have very less files then it's not taking much time.
i used below property to stop user re-index when adding role
indexer.enabled.com.liferay.portal.kernel.model.User=false
but still it's taking long time after adding the above property.
Regards
srini
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™