cancel
Showing results for 
Search instead for 
Did you mean: 

It's possible to change Lucene version?.

sidi
Champ in-the-making
Champ in-the-making
I've put another post in Webservices but  had no answer. I'm starting to have performance problems as content is increasing. I've made a rebuild of lucene index and got better but still under espected ratio for inserting nodes. Lucene version that comes with  Alfresco community 2.1 is 2.1 if I substitute the .jar files of lucene for 2.3.2 will performance improve?.
Will be compatible and everything works? Should I make another reindex?.
I hope someone helps with this and if could also answer my questions in the Webservices foro I will really apreciate.
Thanks in advance.
2 REPLIES 2

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

We will upgrade at some point soon. You are welcone to try - but the risk is yours.
You can always revert back and rebuild the index.

Andy

muralihb
Champ in-the-making
Champ in-the-making
hi,
       i am trying to change the lucene 2.1 jar to lucene 2.3.2 jar. but while running the sample application given in sdk the following error has been occured.

ERROR:
java.lang.ExceptionInInitializerError

Caused by: java.io.IOException: Cannot delete D:\alf_data\lucene-indexes\user\alfrescoUserStore\16b91a2e-95e2-11dd-8553-d504c1a99108\segments_1
   at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:351)
   at org.apache.lucene.index.SegmentInfos.write(SegmentInfos.java:309)
   at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:708)
   at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:478)
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo.makeDeltaIndexWriter(IndexInfo.java:754)
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getDeltaIndexWriter(IndexInfo.java:794)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.getDeltaWriter(AbstractLuceneBase.java:219)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerImpl.indexImpl(AbstractLuceneIndexerImpl.java:626)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerImpl.indexImpl(AbstractLuceneIndexerImpl.java:657)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerImpl.flushPending(AbstractLuceneIndexerImpl.java:789)

IF ANY GOT THE SOLUTION?