lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Bennett <>
Subject Re: index files
Date Wed, 30 Apr 2014 15:43:38 GMT
Hi Sara,

I haven't reviewed the source code, but here are some things that I'd check:

* What is the total size of the index?  If it's very small, perhaps no data is being submitted
(although that doesn't explain the Luke error)
* Carefully compare the index directory in the .java file to the index directory that Luke
is pointing to
* Maybe add some printf statements, to watch as each event takes place, maybe something isn't
happening in the code, but doesn't produce an error either
* Make sure the code does a commit before exiting
* Make sure you writing to a file based index, vs. a RAM index that goes away when the program

Mark Bennett / LucidWorks: Search & Big Data /
Office: 408-898-4201 / Telecommute: 408-733-0387 / Cell: 408-829-6513

On Apr 30, 2014, at 5:28 AM, Sara Kaddouri <> wrote:

> hi,
> i am new user of lucene, i want your help concerning the use of the code
> in the documentation, the code is not generating all the
> files of the index i have only .cfe .cfs .si .gen and segment_n, i don't
> know where is the problem , i tried to use luke in order to browse the
> index i got always the message that there is no index in the directory.
> thanks for your help .
> -- 
> Master student in *C*omputer *S*cience-*UBINET* Resarch Master -at
> *Polytech-*NICE, FRANCE. 2013-2014;
> Élève-Ingénieur d'état à l'*Institut National des Postes
> et Télécommunications *RABAT, MAROC.2011-2014.

View raw message