[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-dev
Subject:    Re: setNorm/commit issue on Windows
From:       Michael McCandless <lucene () mikemccandless ! com>
Date:       2006-08-28 10:31:07
Message-ID: 44F2C5EB.7020808 () mikemccandless ! com
[Download RAW message or body]

Chris Hostetter wrote:
> : If you have an index that has separate norms (.sN or .fN files), and
> : you open a reader against this index, and then try to use another
> : reader to change (& commit) the norms, that second reader will hit an
> : IOException (Access Denied) on Windows during commit because the first
> 
> setNorms is definitely some funky voodoo -- not intended for general use.
> It would nto suprise me in the least if using it while another IndexReader
> was opened didn't work -- on Windows or any other platform.
> 
> Given it's nature, i would treat the results of using it during concurrent
> access from other threads/process the same as IndexReader.unlock -- scary,
> and unadvised.

OK got it :)

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic