RE: Corrupt segments file full of zeros

2011-06-28 Thread Tarr, Gregory
://blog.mikemccandless.com On Tue, Jun 28, 2011 at 8:28 AM, Tarr, Gregory wrote: > There was a segments_(N-1), which was a valid segments file and opened > correctly in luke. > > The trouble came because we had to manually rename these files in order to > prevent the index from being wiped. >

RE: Corrupt segments file full of zeros

2011-06-28 Thread Tarr, Gregory
AM, Tarr, Gregory wrote: > We don't have a -9 in the file. It isn't a valid lucene segments file, > as it only contains zeros. > > We're wondering why this opens in Luke, and why the CheckIndex reports > that the index is OK. > > -Original Message- &

RE: Corrupt segments file full of zeros

2011-06-28 Thread Tarr, Gregory
213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message----- > From: Tarr, Gregory [mailto:gregory.t...@detica.com] > Sent: Tuesday, June 28, 2011 11:56 AM > To: java-user@lucene.apache.org > Subject: RE: Corrupt segments file full of zeros > > Yes I

RE: Corrupt segments file full of zeros

2011-06-28 Thread Tarr, Gregory
Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Tarr, Gregory [mailto:gregory.t...@detica.com] > Sent: Tuesday, June 28, 2011 11:56 AM > To: java-user@lucene.apache.org > Subject: RE: Corrupt segments

RE: Corrupt segments file full of zeros

2011-06-28 Thread Tarr, Gregory
- From: Shai Erera [mailto:ser...@gmail.com] Sent: 28 June 2011 10:36 To: java-user@lucene.apache.org Subject: Re: Corrupt segments file full of zeros You can try the CheckIndex tool. You feed it a directory and call .check() and it reports the results. Shai On Tue, Jun 28, 2011 at 11:4

Corrupt segments file full of zeros

2011-06-28 Thread Tarr, Gregory
We have a problem with our fileserver where our indexes are hosted remotely, using Lucene 2.9.3. This can mean that a segments file is written which is full of ASCII zeros. Using the od -ah command, we get: 000 nul nul nul nul nul nul nuletc If opened in Luke, the index opens successfull

Multi value NumericFields - major issue

2011-06-09 Thread Tarr, Gregory
The javadocs for NumericField (lucene 2.9.4) state: You may add the same field name as a NumericField to the same document more than once. Range querying and filtering will be the logical OR of all values; so a range query will hit all documents that have at least one value in the range Furthermo