Re: Help running the demo program

2024-04-22 Thread Dawid Weiss
If you download the binary distribution, try this: Windows: java --module-path modules;modules-thirdparty --module org.apache.lucene.demo/org.apache.lucene.demo.IndexFiles Linux/Unix/Mac: java --module-path modules:modules-thirdparty --module

Re: Help running the demo program

2024-04-22 Thread Siddharth Jain
Thanks Michael. I did add all the 4 modules to my classpath like this: java \ -cp $CWD/demo/build/classes/java/main:$CWD/analysis/common/build/classes/java/main:$CWD/queryparser/build/classes/java/main:$CWD/core/build/classes/java/main \ org.apache.lucene.demo.IndexFiles \ -docs $DOCS_DIR but

Re: Help running the demo program

2024-04-22 Thread Michael Sokolov
I also found this helpful documentation by looking in the source code of SearchFiles.java: https://lucene.apache.org/core/9_10_0/demo/ On Mon, Apr 22, 2024 at 4:40 AM Stefan Vodita wrote: > > Hi Siddharth, > > If you happen to be using IntelliJ, you can run a demo class from the IDE. > It

Re: Help running the demo program

2024-04-22 Thread Stefan Vodita
Hi Siddharth, If you happen to be using IntelliJ, you can run a demo class from the IDE. It probably works with other IDEs too, though I haven't tried it. Stefan On Sun, 21 Apr 2024 at 23:59, Siddharth Jain wrote: > Hello, > > I am a new user to Lucene. I checked out the Lucene repo >

Help running the demo program

2024-04-21 Thread Siddharth Jain
Hello, I am a new user to Lucene. I checked out the Lucene repo and synced to releases/lucene/9.10.0 tag. From there I have run following commands: ./gradlew ./gradlew assemble I would now like to run the demo program. How can I do