Skip to content
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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

LUCENE 9236 #1282

wants to merge 2 commits into from

Conversation

juanka588
Copy link

@juanka588 juanka588 commented Feb 24, 2020

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:

  • I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
  • I have created a Jira issue and added the issue ID to my pull request title.
  • I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
  • I have developed this patch against the master branch.
  • I have run ant precommit and the appropriate test suite.
  • I have added tests for my changes.
  • I have added documentation for the Ref Guide (for Solr changes only).

SparseNumericDocValues(IndexedDISI disi) {
this.disi = disi;
long ramBytesUsed = BASE_RAM_USAGE;
for (Accountable accountable : numerics.values()) {
Copy link
Author

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 {
Copy link
Author

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 {
Copy link
Author

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();
Copy link
Author

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

@juanka588
Copy link
Author

Please review each commit apart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant