set classpath for the lucene version that u r using. of course Java
classpath  also needed. Then try to run this
http://www.panix.com/~mitzi/HelloLucene.java

If u get any error  do ask, the forum is very active in solving ur problem.
Run more sample codes from here
http://www.lucenetutorial.com/your-first-project.html

Thanks

On 5/18/11, ravishekhar [via Lucene]
<[email protected]> wrote:
>
>
> Hi,
>
>  I am new to Lucene. I am able to run demo code given.
>  I wrote my code for training and searching based on some simple
> modification.
>  I have put that files in lucene-3.0.3/src/demo/org/apache/lucene/demo and
> tried to run as I run the demo file by just giving name of my files.
>
>  I used netbeans for the same and I am able to do the same, validating my
> program is correct.
>  I want to run the code through command line as done in case of demo
> program.
>
>  Please let me know how to do this.
>
>  Thanks,
>  Ravi
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://lucene.472066.n3.nabble.com/Writing-new-peice-of-code-in-Lucene-tp2956161p2956161.html
> To start a new topic under Lucene - General, email
> [email protected]
> To unsubscribe from Lucene - General, visit
> http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=642108&code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw2NDIxMDh8LTIwOTgzNDQxOTY=


-- 
Kumar Anurag


-----
Kumar Anurag

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Writing-new-peice-of-code-in-Lucene-tp2956161p2956362.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Reply via email to