Re: Need help for conversion code from Lucene 2.4.0 to 8.11.2

2023-03-03 Thread Mikhail Khludnev
or such need, where > Token and Payload class both are not there now? > > Regards > Rajib > > -Original Message- > From: Uwe Schindler > Sent: 10 February 2023 15:36 > To: java-user@lucene.apache.org > Subject: Re: Need help for conversion code from Lucene 2.4.0 t

RE: Need help for conversion code from Lucene 2.4.0 to 8.11.2

2023-03-03 Thread Saha, Rajib
Sent: 10 February 2023 15:36 To: java-user@lucene.apache.org Subject: Re: Need help for conversion code from Lucene 2.4.0 to 8.11.2 Hi, the reason for this is that files in Lucene are always write-once. We never ever change a file after it was written and committed in the 2-phase-commit. If you

RE: Need help for conversion code from Lucene 2.4.0 to 8.11.2

2023-02-13 Thread Saha, Rajib
file with the new logic. Regards Rajib -Original Message- From: Uwe Schindler Sent: 10 February 2023 15:36 To: java-user@lucene.apache.org Subject: Re: Need help for conversion code from Lucene 2.4.0 to 8.11.2 Hi, the reason for this is that files in Lucene are always write-once. We

Re: Need help for conversion code from Lucene 2.4.0 to 8.11.2

2023-02-10 Thread Uwe Schindler
Exception e) { e.printStackTrace(); } == Regards Rajib -Original Message- From: Uwe Schindler Sent: 06 February 2023 16:46 To: java-user@lucene.apache.org Subject: Re: Need help for conversion code from Lucene 2.4.0 to 8.11.2 Hi, Since around Lucene 4 (maybe alre

RE: Need help for conversion code from Lucene 2.4.0 to 8.11.2

2023-02-09 Thread Saha, Rajib
output.close(); } catch(Exception e) { e.printStackTrace(); } == Regards Rajib -Original Message- From: Uwe Schindler Sent: 06 February 2023 16:46 To: java-user@lucene.apache.org Subject: Re: Need help for conversion code f

Re: Need help for conversion code from Lucene 2.4.0 to 8.11.2

2023-02-06 Thread Uwe Schindler
fine. === Regards Rajib -Original Message- From: Mikhail Khludnev Sent: 29 January 2023 18:05 To: java-user@lucene.apache.org Subject: Re: Need help for conversion code from Lucene 2.4.0 to 8.11.2 Hello, You can use // gather list of valid fields

RE: Need help for conversion code from Lucene 2.4.0 to 8.11.2

2023-02-06 Thread Saha, Rajib
. Currently, this API is not there. Could you please suggest, how we can handle the API in 8.11.2? Regards Rajib -Original Message- From: Mikhail Khludnev Sent: 01 February 2023 12:22 To: java-user@lucene.apache.org Subject: Re: Need help for conversion code from Lucene 2.4.0 to 8.11.2

Re: Need help for conversion code from Lucene 2.4.0 to 8.11.2

2023-01-31 Thread Mikhail Khludnev
gt; In One of my requirement, I need to extract, all the Terms in a > > IndexReader. > > I was trying the reference code " Fields fields = reader.fields();" in > > your reference link. > > > > But, there is no "reader.fields()" in 8.11.2. > >

RE: Need help for conversion code from Lucene 2.4.0 to 8.11.2

2023-01-31 Thread Saha, Rajib
37 To: java-user@lucene.apache.org Subject: RE: Need help for conversion code from Lucene 2.4.0 to 8.11.2 Hi Mikhail, Thanks for your suggestion. It solved lots of cases today in my end. 😊 I need some more suggestions from your end. I am putting together as below one b

RE: Need help for conversion code from Lucene 2.4.0 to 8.11.2

2023-01-30 Thread Saha, Rajib
? If so, can you please help with APIs === Regards Rajib -Original Message- From: Mikhail Khludnev Sent: 29 January 2023 18:05 To: java-user@lucene.apache.org Subject: Re: Need help for conversion code from Lucene 2.4.0 to 8.11.2 Hello, You can use

Re: Need help for conversion code from Lucene 2.4.0 to 8.11.2

2023-01-29 Thread Mikhail Khludnev
---Original Message- > From: Mikhail Khludnev > Sent: 19 January 2023 04:26 > To: java-user@lucene.apache.org > Subject: Re: Need help for conversion code from Lucene 2.4.0 to 8.11.2 > > [You don't often get email from m...@apache.org. Learn why this is > important at

RE: Need help for conversion code from Lucene 2.4.0 to 8.11.2

2023-01-29 Thread Saha, Rajib
n 8.11.2. Could you please suggest someway to extract all the Terms with an IndexReader or some alternative ways? Regards Rajib -Original Message- From: Mikhail Khludnev Sent: 19 January 2023 04:26 To: java-user@lucene.apache.org Subject: Re: Need help for conversion code from Lucene 2

Re: Need help for conversion code from Lucene 2.4.0 to 8.11.2

2023-01-18 Thread Mikhail Khludnev
Hello, Rajib. API were evolved since 2.4, but it should be clear https://lucene.apache.org/core/8_11_2/core/org/apache/lucene/index/package-summary.html#fields On Wed, Jan 18, 2023 at 1:11 PM Saha, Rajib wrote: > Hi All, > > We are in a process for conversion of Lucene from 2.4.0 to 8.11.2 for