Skip to content

[BUG] Enhancement - Check if OS pluggins can use RandomAccessInput.readBytes bulk method #17574

@asimmahmood1

Description

@asimmahmood1

Describe the bug

This is a follow-up to Lucene change apache/lucene#12599, and OS Meta: #16934

Purpose of this issue to each of OS plugins that currently loop using RandomAccessInput.readByte, to instead use RandomAccessInput.readBytes bulk option.

For CoreSearch there was 1 instance found: #17555

Related component

Plugins

To Reproduce

  1. Go through plugin code
  2. Using IDE Find Usages for https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/store/RandomAccessInput.java readByte() method
  3. Check if it can be replaced with RandomAccessInput.readBytes() method.

Expected behavior

Raise PRs and call out any possible benchmark improvements.

Additional Details

Plugins
Go though all Plugins that use https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/store/RandomAccessInput.java

Screenshots
n/a

Host/Environment (please complete the following information):

  • OS: n/a
  • Version 3.0.0

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions