Message Boards

Liferay 7 when adding user we want to stop the index

srini vasulu, modified 3 Years ago.

Liferay 7 when adding user we want to stop the index

Regular Member Posts: 139 Join Date: 2/22/11 Recent Posts
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
thumbnail
Olaf Kock, modified 3 Years ago.

RE: Liferay 7 when adding user we want to stop the index

Liferay Legend Posts: 6396 Join Date: 9/23/08 Recent Posts
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.
srini vasulu, modified 3 Years ago.

RE: Liferay 7 when adding user we want to stop the index

Regular Member Posts: 139 Join Date: 2/22/11 Recent Posts
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.
Hi Olaf kock ,
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