cancel
Showing results for 
Search instead for 
Did you mean: 

lucene index question

patmandenver
Champ in-the-making
Champ in-the-making
lucene index question

I am currently using alfresco 3.4.d
I have an nfs server that contains the content store and the lucene index
and another server that contains tomcat running alfresco and alfresco share.

I am planning on changing my set up to a Simple repository clustering
as shown at http://wiki.alfresco.com/wiki/Cluster_Configuration_V2.1.3_and_Later


I have a few questions on the lucene indexes.
I tried to set up a new alfresco server with its own lucene index.  I copied
the index from my original server but it never worked I had to remove it and
let the server rebuild its own index. 

Is there a procedure to avoid this index rebuild? 
Is it better to do a new lucene rebuild on a new server?




Also I did not set up L2 Cache on the new server with JGroups as pointed out
here http://www.ziaconsulting.com/technology/alfresco-technology/alfresco-ha-cluster-on-amazo-ec2/
I believe this resulted in the indexes getting out of sync.  If I uploaded a file on one server
the 2nd server never was able to see it.  

Without L2 cache set up will the index on the 2nd server ever re-sync? 
If I set up L2 cache now will the 2nd server sync up correctly?


-Patrick
1 REPLY 1

andy
Champ on-the-rise
Champ on-the-rise
Hi

Put your indexes on a local disk.
NFS will be slow and have problems if you try and share the index.
Lucene and NFS has not had a good history. You can use NFS if and whne you move to Alfrecso with SOLR (there will still be performance issues)

The index should work - it is how you do back up - so long as it is the same repository - if it is a "new install" indexes from another repository will not work.
The lucene index is specific to the DB and content store used.

Andy