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

Improve BinaryFieldMapper.CustomBinaryDocValuesField.bytes() #6897

Closed
nknize opened this issue Mar 30, 2023 · 5 comments · Fixed by #9426
Closed

Improve BinaryFieldMapper.CustomBinaryDocValuesField.bytes() #6897

nknize opened this issue Mar 30, 2023 · 5 comments · Fixed by #9426
Assignees
Labels
enhancement Enhancement or improvement to existing feature or request good first issue Good for newcomers

Comments

@nknize
Copy link
Collaborator

nknize commented Mar 30, 2023

Falling out of #6884 this issue is to explore improving (and benchmarking) the BinaryFieldMapper.CustomBinaryDocValuesField.bytes() method to prevent sorting and deduping on every call. Options include switch from an ArrayList<byte[]> to a TreeSet<byte[]> or using sort/dedup after every add.

@nknize
Copy link
Collaborator Author

nknize commented Mar 30, 2023

@navneet1v can I assign this one to you so you can own this exploration either here or upstream in Lucene? No rush... and I'd look at this as a follow on to just getting MultiValue in Lucene. I don't expect any performance improvements whether it's a TreeSet or something else to be terribly impactful but every little bit helps.

@navneet1v
Copy link
Contributor

@navneet1v can I assign this one to you so you can own this exploration either here or upstream in Lucene? No rush... and I'd look at this as a follow on to just getting MultiValue in Lucene. I don't expect any performance improvements whether it's a TreeSet or something else to be terribly impactful but every little bit helps.

Yes sure.

@navneet1v navneet1v self-assigned this Mar 30, 2023
@nknize
Copy link
Collaborator Author

nknize commented Mar 30, 2023

Excellent!! Thank you!

@kkmr
Copy link
Contributor

kkmr commented Aug 14, 2023

I chatted with @navneet1v. I will be picking up this issue.

@navneet1v navneet1v assigned kkmr and unassigned navneet1v Aug 14, 2023
@navneet1v
Copy link
Contributor

I chatted with @navneet1v. I will be picking up this issue.

Thanks @kkmr for picking this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants