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 sumittyagi <pi...@gmail.com> on 2007/10/05 20:22:21 UTC

got stuck in running lucene demo

hi,
ihave just downloaded lucene 2.2.0 and tomcat, and have set my classpaths ,
now i am got stuck at the very first stage of indexing files, which ask me
to do like this
java org.apache.lucene.demo.IndexFiles {full-path-to-lucene}/src

i dont know from which directory i have to execute this command.
please help me regarding this
thanks
-- 
View this message in context: http://www.nabble.com/got-stuck-in-running-lucene-demo-tf4576912.html#a13064913
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: got stuck in running lucene demo

Posted by Chris Hostetter <ho...@fucit.org>.
: java org.apache.lucene.demo.IndexFiles {full-path-to-lucene}/src
: 
: i dont know from which directory i have to execute this command.

it doesn't matter which directory you run it from -- that's why it says 
"{full-path-to-lucene}".  as long as you set your CLASSPATH up like the 
previous step said, then you can run that command anywhere you want, just 
keep in mind what it's going to do...

"This will produce a subdirectory called index which will contain an index 
of all of the Lucene source code."

...so that "index" directory will be in your current working directory -- 
so make sure you have write permisions for your current working directory.




-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org