Mailing List Archive

What is the corresponding class for org.apache.lucene.codecs.memory.DirectDocValuesFormat in Lucene9
Hi, Lucene experts:

I'm looking at some code which is based on an older version of lucene.

And I just noticed that,
the org.apache.lucene.codecs.memory.DirectDocValuesFormat
doesn't have a corresponding class in Lucene9.

But the "DirectPostingFormat" is still in Lucene9.

Could anyone help me to understand how to replace the DirectDocValueFormat
in Lucene9?

Thanks
Regards
MyCoy
Re: What is the corresponding class for org.apache.lucene.codecs.memory.DirectDocValuesFormat in Lucene9 [ In reply to ]
Hello, MyCoy.

It seems it's gone.
https://lucene.apache.org/core/9_0_0/MIGRATE.html
https://issues.apache.org/jira/browse/LUCENE-8917
I think it's substituted by
https://lucene.apache.org/core/9_0_0/core/org/apache/lucene/codecs/lucene90/Lucene90DocValuesFormat.html

Regards

On Tue, Jan 31, 2023 at 8:37 AM MyCoy Z <mycoy.zhang@gmail.com> wrote:

> Hi, Lucene experts:
>
> I'm looking at some code which is based on an older version of lucene.
>
> And I just noticed that,
> the org.apache.lucene.codecs.memory.DirectDocValuesFormat
> doesn't have a corresponding class in Lucene9.
>
> But the "DirectPostingFormat" is still in Lucene9.
>
> Could anyone help me to understand how to replace the DirectDocValueFormat
> in Lucene9?
>
> Thanks
> Regards
> MyCoy
>


--
Sincerely yours
Mikhail Khludnev
https://t.me/MUST_SEARCH
A caveat: Cyrillic!