Index directory is not created when I run the command ...

2024-08-05 Thread Deepak Goel
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/l

Get knowledge about apache lucene index migrate

2024-08-05 Thread Jayamal Jayamaha
Hello I am currently working on a project that is using apache lucene 4.1.0 version. Now I need to upgrade that version to 9.11.1. So I configure the imports and configure the codebase according to the new lucene version. Now I need to upgrade existing indexes which have been created using lucene

Index directory is not created when i run the command ""

2024-08-05 Thread Deepak Goel
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/l

Converting docid to uid

2024-08-05 Thread Marc Davenport
Hello, Right now our implementation retrieves our UID for our records from the topdocs by calling IndexSearcher.doc(docid, fieldToLoad) (Deprecated) with the UID as the only field. I'm looking to replace this with the appropriate call to IndexSearcher.storedFields(). This feels a little inefficie