Reindexção aleatorio do luceneReindexção aleatorio do lucenehttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=783340262024-03-29T06:07:24Z2024-03-29T06:07:24ZRE: Reindexção aleatorio do luceneFernando Almeidahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=825251532016-11-17T18:17:47Z2016-11-17T18:17:47ZOlá Dieog, pelo que sei é meio que 'impossível' desabilitar o "auto-indexing", apenas remover o lucene de buscas e indexação... Aliás, nem sabia desse processo diário.. Uma outra opção, que você já deve conhecer, é o index on startup do lucene no liferay, desenvolvido na LPS22244 -> https://issues.liferay.com/browse/LPS-22244Fernando Almeida2016-11-17T18:17:47ZReindexção aleatorio do luceneDiego Carmohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=783340252016-08-31T20:49:12Z2016-08-31T20:49:12Z<html><head></head><body>Ola, estou com um problema com um portal que esta desenvolvido na versão 6.2 GA4 CE a performance do portal esta funcionando muito bem porem nos últimos começamos a ter problemas de performance, principalmente quando estamos próximos de 1000 usuários no portal. <br>Atualmente estamos usando 3 nó de cluster em tomcat com uma base de dados oracle. <br><br>Analisando o problema por log notei que em diversos momento do dia, o lucene simples invalida todo o índice e passa indexar o portal novamente, isso ocorre hora em apenas 1 dos nós mais ja acontece de rodar nos 3 praticamente ao mesmo tempo. <br><br>Notei ocorrências do log abaixo poucos antes de iniciar a reindexação <br><pre><code>14:38:25,006 ERROR [CLUSTER_EXECUTOR_CALLBACK_THREAD_POOL-60][LuceneHelperImpl:1188] Unable to load index for company 20155
com.liferay.portal.kernel.exception.SystemException: java.io.IOException: Server returned HTTP response code: 401 for URL: http://192.168.20.192:80/lucene/dump
at com.liferay.portal.search.lucene.LuceneHelperImpl.getLoadIndexesInputStreamFromCluster(LuceneHelperImpl.java:487)
at com.liferay.portal.search.lucene.LuceneHelperImpl$LoadIndexClusterResponseCallback.callback(LuceneHelperImpl.java:1178)
at com.liferay.portal.cluster.ClusterExecutorImpl$ClusterResponseCallbackJob.run(ClusterExecutorImpl.java:651)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://192.168.20.192:80/lucene/dump
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1627)
at com.liferay.portal.search.lucene.LuceneHelperImpl.getLoadIndexesInputStreamFromCluster(LuceneHelperImpl.java:482)
... 5 more
14:38:25,006 ERROR [CLUSTER_EXECUTOR_CALLBACK_THREAD_POOL-61][LuceneHelperImpl:1188] Unable to load index for company 0
com.liferay.portal.kernel.exception.SystemException: java.io.IOException: Server returned HTTP response code: 401 for URL: http://192.168.20.192:80/lucene/dump
at com.liferay.portal.search.lucene.LuceneHelperImpl.getLoadIndexesInputStreamFromCluster(LuceneHelperImpl.java:487)
at com.liferay.portal.search.lucene.LuceneHelperImpl$LoadIndexClusterResponseCallback.callback(LuceneHelperImpl.java:1178)
at com.liferay.portal.cluster.ClusterExecutorImpl$ClusterResponseCallbackJob.run(ClusterExecutorImpl.java:651)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://192.168.20.192:80/lucene/dump
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1627)
at com.liferay.portal.search.lucene.LuceneHelperImpl.getLoadIndexesInputStreamFromCluster(LuceneHelper