[opencms-dev] Lucene lock index
Ernesto De Santis
ernesto.desantis at colaborativa.net
Wed Mar 3 13:43:01 CET 2004
Matt
No, we have the same problem with Lucene 1,2 and opencms-lucene 1.4
I thought that I was because towards something badly in the search. But I
investigate and not found problems with as I use IndexSearcher.
I use an unique instance of IndexSearcher for all the application, and never
close this instance. Only when the index change. (but never change, because
the files are locked :-(, I delete the files manually )
Ernesto
PS: How to connect with anonymous user to CVS repository for opencms-lucene
module?
I try with:
Host: cvs.sourceforge.net (and cvs.sf.net)
Repository path: /cvs, /cvsroot, /cvsroot/opencmslucene, etc
User: anonymous
Password: "empty" or anonymous
Connection type: pserver
Use default port
----- Original Message -----
From: "M Butcher" <mbutcher at grcomputing.net>
To: <opencms-dev at opencms.org>
Sent: Tuesday, March 02, 2004 8:35 PM
Subject: Re: [opencms-dev] Lucene lock index
> Ernesto,
>
> Very interesting. I wonder if locking is new in the 1.3 version of
> Lucene. If you have time, would you mind testing? (I don't have a w2k
> box... all Linux here).
>
> Again, thanks for pointing these things out.
>
> Thanks,
>
> Matt
>
> Ernesto De Santis wrote:
> > Hello all
> >
> > I am using the opencms-lucene module, and I am having a big problem with
> > re-indexation in Windows which is not happening in Linux.
> >
> > The index is being locked for my IndexSearcher I believe. When I perform
> > the re-indexation, it throws an IOException (for the index files locked
> > in the
> > FS)
> > I am re-indexing with the parameter createIndex=true in the task line.
> > The OpenCms log looks like:
> > -------
> > [02.03.2004 11:25:14] <opencms_cronscheduler> Error running job for
> > com.opencms.core.CmsCronEntry{25 11 * * * Admin Administrators
> > net.grcomputing.opencms.search.lucene.CronIndexManager
> > createIndex=true,registry=C:\lucene-config_es_cu.xml} Error:
> > java.io.IOException: couldn't delete _3i3.f1
> > at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:166)
> > at
> > org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:135)
> > at
> > org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:113)
> > at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:151)
> > at net.grcomputing.opencms.search.lucene.IndexManager.doIndex(Unknown
> > Source)
> > at
> > net.grcomputing.opencms.search.lucene.CronIndexManager.launch(Unknown
> > Source)
> > at com.opencms.core.CmsCronScheduleJob.run(CmsCronScheduleJob.java:68)
> > -------
> >
> > My system is
> > OpenCms 5.0.0
> > Lucene 1.3
> > opencms-lucene 1.5
> > Windows 2000
> >
> > Under Linux, it works fine! Can you help me?
> >
> > Regards
> > Ernesto.
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
More information about the opencms-dev
mailing list