-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Add codec support for Lucene 6 and 7 versions #81258
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
...rg/elasticsearch/xpack/searchablesnapshots/store/input/BaseSearchableSnapshotIndexInput.java
Show resolved
Hide resolved
public SegmentInfoFormat segmentInfoFormat() { | ||
return segmentInfosFormat; | ||
} | ||
private final PostingsFormat postingsFormat = new EmptyPostingsFormat(); |
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.
Let's fix Lucene to only pull the postings format if any of the fields has postings, like we already do for points and doc values?
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.
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.
I left some comments but this looks great. Thanks @ywelsch.
Adds Lucene support for reading
_id
and_source
from ES 5 / ES 6 indices.The codec classes are copies from Lucene where only read path is kept.
Relates #81210