Re: Get knowledge about apache lucene index migrate

2024-08-06 Thread Michael Sokolov
Yes, there is no support for upgrading a pre-8.x index to 9 or later. At some point it was decided that supporting that would lead to grief for users and/or hamper development of Lucene, so now you can only upgrade one major version. If you need to do so, the best supported option is to write a pro

Re: Converting docid to uid

2024-08-06 Thread Michael Sokolov
You could switch to DocValues, and it would probably be more efficient if you are only retrieving a single stored field but you have a lot of other ones in the index since stored fields are stored together and have to be decoded together. As far as visiting every segment on disk I'm not sure what

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

2024-08-06 Thread Gautam Worah
Hi Deepak, I see that you are setting the index location directory to the `docs` folder. I'd say follow the instructions from https://lucene.apache.org/core/9_11_0/demo/index.html, and specify the correct `-docs` directory input which contains Lucene source code. Inside the github repo: try sendin