AnsweredAssumed Answered

No Lucene synchro on cluster environment

Question asked by jhoueix on Apr 14, 2008
Latest reply on Jun 8, 2008 by marco.altieri
Hi,

I'm working presently on the deployment of an Alfresco Cluster ( EHCache replication + lucene synchro ) as described in
http://wiki.alfresco.com/wiki/Cluster_Configuration_V1.4_to_V2.1.2#Sticky_Client_Sessions_with_Simple_Repository_Clustering

The cache replication seems to works fine and I have tested successfully an update propagation.
But the Lucene synchro is not made…

I have tested it by updating  a content  and its metadatas and was not able to detect the changes threw the searching tool.

My test environment is :

-  Alfresco community 2.1
-  Windows XP
-  Two Alfresco deployed on two distinct pc  sharing the same db (Postgres) and the same content repository, with two local lucene indexes..
-  For technical reasons, the caches cannot use the multicasting  and are therefore explicitly set in the  ehcache-custom

In order to enable the Lucene synchro , I just changed the  custom-repository.properties by adding these two lignes :

index.tracking.cronExpression=0/5 * * * * ?
index.recovery.mode=AUTO

Have I forgotten something for this synchro  to work ?

Thanks.

Outcomes