lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J.P.Rosew...@open.ac.uk
Subject RE: Read-only mode index
Date Mon, 09 Sep 2002 09:51:23 GMT
I posted a message that might have been the one you were thinking of:

>I've been investigating using Lucene to search html pages on CD-ROM, using
>an applet as the search interface. It isn't as easy as I'd hoped...
>
>One problem is that lock files are written while searching to prevent
>concurrent updates of the index -- clearly that doesn't work too well on
>read-only media! But I notice there are current changes which will make the
>use of lock files configurable.
>
>Another problem is security restrictions on applets. Unfortunately one of
>these is not being able to read system properties and the new mechanism for
>turning off lock files uses a system property, so that ain't going to work
>well in my case...
>
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=lucene-user@jakarta.apac
he.org&msgNo=2260

Ie the system property solves the read-only media problem, but not if you
are writing an applet based solution. The "CD-ROM and search applet" seems a
natural pairing, so I was hoping there could be an alternative way of doing
this.

Jon

Educational Software, LTS
x52619



-----Original Message-----
From: Otis Gospodnetic [mailto:otis_gospodnetic@yahoo.com] 
Sent: 09 September 2002 02:22
To: Lucene Users List
Subject: Re: Read-only mode index


Yes, that issue has been addressed and taken care of.
This is from CHANGES.txt:

 3. Added the ability to disable lock creation by using disableLuceneLocks
    system property.  This is useful for read-only media, such as CD-ROMs.
    (otis)

I remember somebody following up on this change and warning of a downfall of
this solution, and I remember thinking that the comment was valid or
semi-valid, but I can't remember who made the comment, nor what exactly the
comment was. Maybe this solution needs to be fixed, but for now this should
work.

Otis


--- Herman Chen <hchen@intumit.com> wrote:
> Hi,
> 
> I recall having seen discussions on the need for accessing index in 
> read-only mode.  Has there been a solution suggested or any 
> contributions?  Thanks.
> 
> --
> Herman
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com

--
To unsubscribe, e-mail:
<mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:lucene-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message