segment_N file is missed

2010-06-09 Thread maryam ma'danipour
Hello to all ! I have _0.cfs file of a lucene index directory but segments.gen and segments_2 are missing. Can I generate the segments.gen and segments_2 files without having to regenerate the _0.cfs file. Does these "segments" files contain any index specific data, which will thus force me to re

Re: segment_N file is missed

2010-06-14 Thread maryam ma'danipour
hack this up, making a CFSDirectory would be a > wonderful addition to the Lucene Directory suite. A CFS file is a > complete Lucene index and it is much much easier to deploy single > files than file sets. > > On Wed, Jun 9, 2010 at 6:33 AM, maryam ma'danipour > wrote: &g

Re: segment_N file is missed

2010-06-16 Thread maryam ma'danipour
he checksum. > > BTW how did you lose your segments_N file...? > > Mike > > On Tue, Jun 15, 2010 at 2:28 AM, maryam ma'danipour > wrote: > > Hello . > > thanks so much for your reply > > I've checked CheckIndex class. but this class can not make a

Re: segment_N file is missed

2010-06-21 Thread maryam ma'danipour
That's great. I'll try it. thanks On Sat, Jun 19, 2010 at 11:10 AM, Lance Norskog wrote: > This code is old (2006!) and I've updated it for Lucene 2.9.2, ad the > trunk.This version only works for one CFS file (that I've tested). The > code does not check versions carefully. Here are both versi

MultiSearcherThread.hits(ParallelMultiSearcher.java:280) nullPointerException

2009-09-10 Thread maryam ma'danipour
Hello every . I have a problem with MultiSearcherThread.hits in ParallelMultiSearcher.java . Some times when I want to search via paralleMultiSearcher, the method MultiSearcherThread.hits() throws nullPointerException. this is because docs somehow has become null. but why this field is null. I've c