-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Introduce Elasticsearch PostingFormat based on Lucene 90 positing format using PFOR #103601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hi @iverase, I've created a changelog YAML for you. |
Pinging @elastic/es-search (Team:Search) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for looking into this! I did not do a detailed review, just looked at things that I expected to be worth looking at. :)
server/src/main/java/org/elasticsearch/index/codec/postings/ES812PostingsFormat.java
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/index/codec/postings/ES812PostingsFormat.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @iverase. LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found a couple minor problems, but otherwise it looks good to me!
server/src/main/java/org/elasticsearch/index/codec/PerFieldMapperCodec.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/elasticsearch/index/codec/postings/ES812PostingsFormatTests.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/elasticsearch/index/codec/postings/ES812PostingsFormatTests.java
Outdated
Show resolved
Hide resolved
💚 Backport successful
|
…mat using PFOR (elastic#103601) Lucene 9.9 has introduced a new posting format that uses FOR instead of PFOR. Elasticsearch prefers the former format, therefore we introduce it as a our own posting format here.
A question about the 1st comment "Lucene 9.9 has introduced a new posting format that uses FOR instead of PFOR. Elasticsearch prefers the former format, therefore we introduce it as a our own posting format here." I think ES prefers the later format? |
Lucene 9.9 has introduced a new posting format that uses FOR instead of PFOR. Elasticsearch prefers the former format, therefore we introduce it as a our own posting format here.
fixes #103002