Re: segment_N file is missed

2010-06-21 Thread maryam ma'danipour
; On 6/16/10, Michael McCandless wrote: > > On Wed, Jun 16, 2010 at 10:38 AM, Yonik Seeley > > wrote: > >> On Tue, Jun 15, 2010 at 5:23 AM, Michael McCandless > >> wrote: > >>> CheckIndex is not able to recov

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-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

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

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

Questions about Indexing

2007-03-22 Thread Maryam
Hi, I have three questions about indexing: 1) I am indexing HTML documents, how can I do "stop removal" before indexing, I dont want to index stop words? 2) I can have an access to the terms in one document, but how can I have access to the document name that these terms has been appeared? 3)

problem in reading an index

2007-03-22 Thread Maryam
Hi, I have written this piece of code to read the index, mainly to see what terms are in each document and what the frequency of each term in the document is. This piece of code correctly calculates the number of docs in the index, but I don’t know why variable myTermFreq[] is null. Would you ple

How can I index Phrases in Lucene?

2007-03-22 Thread Maryam
Hi, I know how to index terms in lucene, now I wanna see how can I index phrases like "information retreival" in lucene and calculate the number of times that phrase has appeared in the document. Is there any way to do it in Lucene? Thanks

Indexing HTML pages and phrases

2007-03-14 Thread Maryam
Hi, I am wondering if we can index a phrase (not term) in Lucene? Also, I am not usre if it can index HTML pages? I need to have access to the text of some of tags, I am not sure if this can be done in Lucene. I would be so glad if you help me in this case. Thanks