-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
LUCENE 9236 #1282
base: master
Are you sure you want to change the base?
LUCENE 9236 #1282
Conversation
SparseNumericDocValues(IndexedDISI disi) { | ||
this.disi = disi; | ||
long ramBytesUsed = BASE_RAM_USAGE; | ||
for (Accountable accountable : numerics.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.
now each entry implements accountable
} | ||
} | ||
|
||
public long[] writeValues(FieldInfo field, DocValuesProducer valuesProducer, IndexOutput data, IndexOutput meta) throws IOException { |
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.
added data and meta index output
long blockEndOffset; | ||
LongValues values; | ||
|
||
VaryingBPVReader(NumericEntry entry, RandomAccessInput slice, IndexInput data) throws IOException { |
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.
we also pass data here
@@ -48,6 53,16 @@ public Lucene80BinaryConsumer(SegmentWriteState state) { | |||
this.maxDoc = state.segmentInfo.maxDoc(); | |||
} | |||
|
|||
@Override | |||
public CompositeFieldMetadata addBinary(FieldInfo field, DocValuesProducer valuesProducer, IndexOutput indexOutput) throws IOException { | |||
ByteBuffersDataOutput delegate = ByteBuffersDataOutput.newResettableInstance(); |
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.
this can be replaced with a BinaryEntry Object
Please review each commit apart. |
Description
Please provide a short description of the changes you're making with this pull request.
Solution
Please provide a short description of the approach taken to implement your solution.
Tests
Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
Checklist
Please review the following and check all that apply:
master
branch.ant precommit
and the appropriate test suite.