You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Deepak Goel <de...@gmail.com> on 2024/08/05 06:47:44 UTC
Index directory is not created when i run the command ...
Hello
From the page:
https://lucene.apache.org/core/2_9_4/demo.html#:~:text=First%2C%20you%20should%20download%20the,when%20you%20extracted%20the%20archive.
I am trying to run the following command "java
org.apache.lucene.demo.IndexFiles {full-path-to-lucene}/src":
*java -cp
/home/kali/lucene/lucene-9.11.1/modules/lucene-core-9.11.1.jar:/home/kali/lucene/lucene-9.11.1/modules/lucene-demo-9.11.1.jar
org.apache.lucene.demo.IndexFiles -index
/home/kali/lucene/lucene-9.11.1/docs -docs
/home/kali/lucene/lucene-9.11.1/doc*
The command runs successfully, but I cannot see an index directory.
*...*
*adding
/home/kali/lucene/lucene-9.11.1/docs/analysis/common/deprecated-list.htmladding
/home/kali/lucene/lucene-9.11.1/docs/analysis/common/help-doc.htmladding
/home/kali/lucene/lucene-9.11.1/docs/_1m.cfsadding
/home/kali/lucene/lucene-9.11.1/docs/_1p.cfeIndexed 8771 documents in 9757
ms*
What could be the problem?
Thank You.
Deepak
"The greatness of a nation can be judged by the way its animals are treated
- Mahatma Gandhi"
+91 73500 12833
deicool@gmail.com
LinkedIn: www.linkedin.com/in/deicool
"Plant a Tree, Go Green"
Make In India : http://www.makeinindia.com/home
Re: Index directory is not created when i run the command ...
Posted by Shawn Heisey <ap...@elyograg.org.INVALID>.
On 8/5/2024 00:47, Deepak Goel wrote:
> Hello
>
> From the page:
> https://lucene.apache.org/core/2_9_4/demo.html#:~:text=First%2C%20you%20should%20download%20the,when%20you%20extracted%20the%20archive.
>
> I am trying to run the following command "java
> org.apache.lucene.demo.IndexFiles {full-path-to-lucene}/src":
>
> *java -cp
> /home/kali/lucene/lucene-9.11.1/modules/lucene-core-9.11.1.jar:/home/kali/lucene/lucene-9.11.1/modules/lucene-demo-9.11.1.jar
> org.apache.lucene.demo.IndexFiles -index
> /home/kali/lucene/lucene-9.11.1/docs -docs
> /home/kali/lucene/lucene-9.11.1/doc*
>
> The command runs successfully, but I cannot see an index directory.
This is the Solr mailing list but you appear to be running a Lucene
demo, not Solr.
If you need help with Lucene, you will need to write to the Lucene project.
Solr uses Lucene for most of its functionality, but it is a completely
separate project.
Thanks,
Shawn