Hello,

org.apache.lucene.document.Field is there
https://lucene.apache.org/core/10_0_0/core/org/apache/lucene/document/Field.html
or I don't understand what you refers to. Please elaborate.
I think you need
org.apache.lucene.store.FSDirectory#open(java.nio.file.Path)
All jars should be the same version, I beg you, please!

On Sat, Dec 14, 2024 at 12:17 AM lavanya ponnapoolu <lav.po...@gmail.com>
wrote:

> Hi Team,
>
>
>
> We are upgrading lucene-core jar from 4.7.0 to 10.0.0 because of
> vulnerability.
>
>
>
> org.apache.lucene.document.Field.*Index *but am not finding any alternative
> as part of https://lucene.apache.org/core/6_0_0/MIGRATE.html. From
> lucene-core-6.0.0 this class files are removed.
>
>
>
> Same with *org.apache.lucene.store.SimpleFSDirectory *usage, should it be
> changed to NIOFSDirectory?
>
>
>
> Also we are using lucene-analyzers-common-4.7.0.jar,
> lucene-queries-4.7.0.jar, lucene-queryparser-4.7.0.jar,
> lucene-sandbox-4.7.0.jar. When lucene core is upgraded is it recommended to
> upgrade all these jars.
>
>
>
> Regards,
>
> Lavanya
> --
> Lavanya
> Give out  ' What you want most'  to come back
>


-- 
Sincerely yours
Mikhail Khludnev

Reply via email to