You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by prabina pattanayak <pr...@yahoo.co.in> on 2008/10/15 07:12:22 UTC
I am not able to run Lucene 2.4 Demo
Hi All,
i am a beginner to Lucene.
and i am trying to use Lucene 2.4.
when i have set lucene-core-2.4.0.jar & lucene-demos-2.4.0.jar in my CLASSPATH. and trying to run:
java org.apache.lucene.demo.IndexFiles E:\prabina\lucene-2.4demo\src
it shows the error:
caught a class java.io.FileNotFoundException
with message: no segments* file found in org.apache.lucene.store.FSDirectory@E:\prabina\lucene-2.4demo\index: files:
but it creates the index folder in my current directory. but the index folder is empty. no segments files are there.
plz, help me out from this problem ASAP.
Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
RE: I am not able to run Lucene 2.4 Demo
Posted by prabina pattanayak <pr...@yahoo.co.in>.
hi sudarsan. it also does not work for me.
no, i have tried the way you have specified, but it also does not work.
it is throwing the same error message.
one thing i want to share more is : i am using Windows OS.
is there anything specific to be done for Windows OS.
plz, help me out from this problem.
thanx in advance.
plz, somebody help.
i desparately need the help from you guys.
regards,
Prabina
--- On Wed, 15/10/08, Sudarsan, Sithu D. <Si...@fda.hhs.gov> wrote:
From: Sudarsan, Sithu D. <Si...@fda.hhs.gov>
Subject: RE: I am not able to run Lucene 2.4 Demo
To: java-user@lucene.apache.org, prabina007@yahoo.co.in
Date: Wednesday, 15 October, 2008, 8:28 PM
Hi Prabina,
The way your are specifying path E:\... is not correct.
Use something like /prabina/lucene-2.4demo/src
Hope this helps,
Sincerely,
Sithu Sudarsan
-----Original Message-----
From: prabina pattanayak [mailto:prabina007@yahoo.co.in]
Sent: Wednesday, October 15, 2008 1:12 AM
To: java-user@lucene.apache.org; java-user-owner@lucene.apache.org
Subject: I am not able to run Lucene 2.4 Demo
Hi All,
i am a beginner to Lucene.
and i am trying to use Lucene 2.4.
when i have set lucene-core-2.4.0.jar & lucene-demos-2.4.0.jar in my
CLASSPATH. and trying to run:
java org.apache.lucene.demo.IndexFiles
E:\prabina\lucene-2.4demo\src
it shows the error:
caught a class java.io.FileNotFoundException
with message: no segments* file found in
org.apache.lucene.store.FSDirectory@E:\prabina\lucene-2.4demo\index:
files:
but it creates the index folder in my current directory. but the index folder
is empty. no segments files are there.
plz, help me out from this problem ASAP.
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
RE: I am not able to run Lucene 2.4 Demo
Posted by "Sudarsan, Sithu D." <Si...@fda.hhs.gov>.
Hi Prabina,
The way your are specifying path E:\... is not correct.
Use something like /prabina/lucene-2.4demo/src
Hope this helps,
Sincerely,
Sithu Sudarsan
-----Original Message-----
From: prabina pattanayak [mailto:prabina007@yahoo.co.in]
Sent: Wednesday, October 15, 2008 1:12 AM
To: java-user@lucene.apache.org; java-user-owner@lucene.apache.org
Subject: I am not able to run Lucene 2.4 Demo
Hi All,
i am a beginner to Lucene.
and i am trying to use Lucene 2.4.
when i have set lucene-core-2.4.0.jar & lucene-demos-2.4.0.jar in my CLASSPATH. and trying to run:
java org.apache.lucene.demo.IndexFiles E:\prabina\lucene-2.4demo\src
it shows the error:
caught a class java.io.FileNotFoundException
with message: no segments* file found in org.apache.lucene.store.FSDirectory@E:\prabina\lucene-2.4demo\index: files:
but it creates the index folder in my current directory. but the index folder is empty. no segments files are there.
plz, help me out from this problem ASAP.
Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: I am not able to run Lucene 2.4 Demo
Posted by Michael McCandless <lu...@mikemccandless.com>.
Can you post the full exception?
Mike
prabina pattanayak wrote:
> Hi All,
> i am a beginner to Lucene.
> and i am trying to use Lucene 2.4.
> when i have set lucene-core-2.4.0.jar & lucene-demos-2.4.0.jar in my
> CLASSPATH. and trying to run:
> java org.apache.lucene.demo.IndexFiles E:\prabina
> \lucene-2.4demo\src
> it shows the error:
> caught a class java.io.FileNotFoundException
> with message: no segments* file found in
> org.apache.lucene.store.FSDirectory@E:\prabina\lucene-2.4demo\index:
> files:
> but it creates the index folder in my current directory. but the
> index folder is empty. no segments files are there.
>
> plz, help me out from this problem ASAP.
>
>
>
>
> Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
RE: I am not able to run Lucene 2.4 Demo
Posted by "Sudarsan, Sithu D." <Si...@fda.hhs.gov>.
Hi,
I'm using Lucene2.3.2, and no problem so far with Windows.
One issue to look at would be, whether your Index directory has the permission to write.
Probably, your Index folder is Read_only.
Sincerely,
Sithu Sudarsan
Graduate Research Assistant, UALR
& Visiting Researcher, CDRH/OSEL
sithu.sudarsan@fda.hhs.gov
sdsudarsan@ualr.edu
-----Original Message-----
From: prabina pattanayak [mailto:prabina007@yahoo.co.in]
Sent: Saturday, October 18, 2008 1:10 AM
To: java-user@lucene.apache.org; java-user-owner@lucene.apache.org; Ganesh
Subject: Re: I am not able to run Lucene 2.4 Demo
what i observed is that it creates the index folder, but that is empty.
it should have one/two file named segments.gen and segments_x(any no.) .
but these two files are not being created inside the index folder.
that's why it is throwing the exception message:
no segments* file found in org.apache.lucene.store.FSDirectory@E:\prabina\lucene-2.4demo\index: files :
Regards,
Prabina
--- On Thu, 16/10/08, Ganesh <em...@yahoo.co.in> wrote:
From: Ganesh <em...@yahoo.co.in>
Subject: Re: I am not able to run Lucene 2.4 Demo
To: java-user@lucene.apache.org, prabina007@yahoo.co.in, java-user-owner@lucene.apache.org
Date: Thursday, 16 October, 2008, 12:05 PM
Hello prabina,
I worked fine in windows. Could you provide the details of exception and
also the System.out messages printed by the application.
Index folder will be created in the current directory. When you execute java
org.apache.lucene.demo.IndexFiles <root directory>, the list of files
available in the root directory will get indexed. In your case it is
"E:\prabina\lucene-2.4demo\src"
I have tried the following and it worked.
D:\Program Files\lucene-2.4.0>java -cp
"lucene-demos-2.4.0.jar;lucene-core-2.4.0.jar"
org.apache.lucene.demo.IndexFiles "D:\Program
Files\lucene-2.4.0\src"
Regards
Ganesh
----- Original Message -----
From: "prabina pattanayak" <pr...@yahoo.co.in>
To: <ja...@lucene.apache.org>;
<ja...@lucene.apache.org>
Sent: Wednesday, October 15, 2008 10:42 AM
Subject: I am not able to run Lucene 2.4 Demo
Hi All,
i am a beginner to Lucene.
and i am trying to use Lucene 2.4.
when i have set lucene-core-2.4.0.jar & lucene-demos-2.4.0.jar in my
CLASSPATH. and trying to run:
java org.apache.lucene.demo.IndexFiles
E:\prabina\lucene-2.4demo\src
it shows the error:
caught a class java.io.FileNotFoundException
with message: no segments* file found in
org.apache.lucene.store.FSDirectory@E:\prabina\lucene-2.4demo\index:
files:
but it creates the index folder in my current directory. but the index
folder is empty. no segments files are there.
plz, help me out from this problem ASAP.
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/
Send instant messages to your online friends http://in.messenger.yahoo.com
Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: I am not able to run Lucene 2.4 Demo
Posted by Ganesh <em...@yahoo.co.in>.
Could you give me full stack trace.
Also provide the output messges displayed on the console.
Regards
Ganesh
----- Original Message -----
From: prabina pattanayak
To: java-user@lucene.apache.org ; java-user-owner@lucene.apache.org ; Ganesh
Sent: Saturday, October 18, 2008 10:40 AM
Subject: Re: I am not able to run Lucene 2.4 Demo
what i observed is that it creates the index folder, but that is empty.
it should have one/two file named segments.gen and segments_x(any no.) .
but these two files are not being created inside the index folder.
that's why it is throwing the exception message:
no segments* file found in org.apache.lucene.store.FSDirectory@E:\prabina\lucene-2.4demo\index: files :
Regards,
Prabina
--- On Thu, 16/10/08, Ganesh <em...@yahoo.co.in> wrote:
From: Ganesh <em...@yahoo.co.in>
Subject: Re: I am not able to run Lucene 2.4 Demo
To: java-user@lucene.apache.org, prabina007@yahoo.co.in, java-user-owner@lucene.apache.org
Date: Thursday, 16 October, 2008, 12:05 PM
Hello prabina,
I worked fine in windows. Could you provide the details of exception and
also the System.out messages printed by the application.
Index folder will be created in the current directory. When you execute java
org.apache.lucene.demo.IndexFiles <root directory>, the list of files
available in the root directory will get indexed. In your case it is
"E:\prabina\lucene-2.4demo\src"
I have tried the following and it worked.
D:\Program Files\lucene-2.4.0>java -cp
"lucene-demos-2.4.0.jar;lucene-core-2.4.0.jar"
org.apache.lucene.demo.IndexFiles "D:\Program
Files\lucene-2.4.0\src"
Regards
Ganesh
----- Original Message -----
From: "prabina pattanayak" <pr...@yahoo.co.in>
To: <ja...@lucene.apache.org>;
<ja...@lucene.apache.org>
Sent: Wednesday, October 15, 2008 10:42 AM
Subject: I am not able to run Lucene 2.4 Demo
Hi All,
i am a beginner to Lucene.
and i am trying to use Lucene 2.4.
when i have set lucene-core-2.4.0.jar & lucene-demos-2.4.0.jar in my
CLASSPATH. and trying to run:
java org.apache.lucene.demo.IndexFiles
E:\prabina\lucene-2.4demo\src
it shows the error:
caught a class java.io.FileNotFoundException
with message: no segments* file found in
org.apache.lucene.store.FSDirectory@E:\prabina\lucene-2.4demo\index:
files:
but it creates the index folder in my current directory. but the index
folder is empty. no segments files are there.
plz, help me out from this problem ASAP.
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/
Send instant messages to your online friends http://in.messenger.yahoo.com
Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php
Re: I am not able to run Lucene 2.4 Demo
Posted by prabina pattanayak <pr...@yahoo.co.in>.
what i observed is that it creates the index folder, but that is empty.
it should have one/two file named segments.gen and segments_x(any no.) .
but these two files are not being created inside the index folder.
that's why it is throwing the exception message:
no segments* file found in org.apache.lucene.store.FSDirectory@E:\prabina\lucene-2.4demo\index: files :
Regards,
Prabina
--- On Thu, 16/10/08, Ganesh <em...@yahoo.co.in> wrote:
From: Ganesh <em...@yahoo.co.in>
Subject: Re: I am not able to run Lucene 2.4 Demo
To: java-user@lucene.apache.org, prabina007@yahoo.co.in, java-user-owner@lucene.apache.org
Date: Thursday, 16 October, 2008, 12:05 PM
Hello prabina,
I worked fine in windows. Could you provide the details of exception and
also the System.out messages printed by the application.
Index folder will be created in the current directory. When you execute java
org.apache.lucene.demo.IndexFiles <root directory>, the list of files
available in the root directory will get indexed. In your case it is
"E:\prabina\lucene-2.4demo\src"
I have tried the following and it worked.
D:\Program Files\lucene-2.4.0>java -cp
"lucene-demos-2.4.0.jar;lucene-core-2.4.0.jar"
org.apache.lucene.demo.IndexFiles "D:\Program
Files\lucene-2.4.0\src"
Regards
Ganesh
----- Original Message -----
From: "prabina pattanayak" <pr...@yahoo.co.in>
To: <ja...@lucene.apache.org>;
<ja...@lucene.apache.org>
Sent: Wednesday, October 15, 2008 10:42 AM
Subject: I am not able to run Lucene 2.4 Demo
Hi All,
i am a beginner to Lucene.
and i am trying to use Lucene 2.4.
when i have set lucene-core-2.4.0.jar & lucene-demos-2.4.0.jar in my
CLASSPATH. and trying to run:
java org.apache.lucene.demo.IndexFiles
E:\prabina\lucene-2.4demo\src
it shows the error:
caught a class java.io.FileNotFoundException
with message: no segments* file found in
org.apache.lucene.store.FSDirectory@E:\prabina\lucene-2.4demo\index:
files:
but it creates the index folder in my current directory. but the index
folder is empty. no segments files are there.
plz, help me out from this problem ASAP.
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/
Send instant messages to your online friends http://in.messenger.yahoo.com
Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php
Re: I am not able to run Lucene 2.4 Demo
Posted by Ganesh <em...@yahoo.co.in>.
Hello prabina,
I worked fine in windows. Could you provide the details of exception and
also the System.out messages printed by the application.
Index folder will be created in the current directory. When you execute java
org.apache.lucene.demo.IndexFiles <root directory>, the list of files
available in the root directory will get indexed. In your case it is
"E:\prabina\lucene-2.4demo\src"
I have tried the following and it worked.
D:\Program Files\lucene-2.4.0>java -cp
"lucene-demos-2.4.0.jar;lucene-core-2.4.0.jar"
org.apache.lucene.demo.IndexFiles "D:\Program Files\lucene-2.4.0\src"
Regards
Ganesh
----- Original Message -----
From: "prabina pattanayak" <pr...@yahoo.co.in>
To: <ja...@lucene.apache.org>; <ja...@lucene.apache.org>
Sent: Wednesday, October 15, 2008 10:42 AM
Subject: I am not able to run Lucene 2.4 Demo
Hi All,
i am a beginner to Lucene.
and i am trying to use Lucene 2.4.
when i have set lucene-core-2.4.0.jar & lucene-demos-2.4.0.jar in my
CLASSPATH. and trying to run:
java org.apache.lucene.demo.IndexFiles E:\prabina\lucene-2.4demo\src
it shows the error:
caught a class java.io.FileNotFoundException
with message: no segments* file found in
org.apache.lucene.store.FSDirectory@E:\prabina\lucene-2.4demo\index: files:
but it creates the index folder in my current directory. but the index
folder is empty. no segments files are there.
plz, help me out from this problem ASAP.
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/
Send instant messages to your online friends http://in.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org