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

Serialize MediaType as an integer to avoid string parsing #16073

Closed
wants to merge 1 commit into from

Serialize MediaType as an integer to avoid string parsing

ff72418
Select commit
Loading
Failed to load commit list.
Closed

Serialize MediaType as an integer to avoid string parsing #16073

Serialize MediaType as an integer to avoid string parsing
ff72418
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Sep 25, 2024 in 0s

75.00% of diff hit (target 72.01%)

View this Pull Request on Codecov

75.00% of diff hit (target 72.01%)

Annotations

Check warning on line 355 in libs/core/src/main/java/org/opensearch/core/common/io/stream/StreamInput.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/core/src/main/java/org/opensearch/core/common/io/stream/StreamInput.java#L355

Added line #L355 was not covered by tests

Check warning on line 108 in libs/core/src/main/java/org/opensearch/core/xcontent/MediaType.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/core/src/main/java/org/opensearch/core/xcontent/MediaType.java#L108

Added line #L108 was not covered by tests

Check warning on line 95 in libs/core/src/main/java/org/opensearch/core/xcontent/MediaTypeRegistry.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/core/src/main/java/org/opensearch/core/xcontent/MediaTypeRegistry.java#L94-L95

Added lines #L94 - L95 were not covered by tests

Check warning on line 51 in server/src/main/java/org/opensearch/action/search/PutSearchPipelineRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/search/PutSearchPipelineRequest.java#L51

Added line #L51 was not covered by tests

Check warning on line 76 in server/src/main/java/org/opensearch/action/search/PutSearchPipelineRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/search/PutSearchPipelineRequest.java#L76

Added line #L76 was not covered by tests

Check warning on line 124 in server/src/main/java/org/opensearch/search/pipeline/PipelineConfiguration.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/pipeline/PipelineConfiguration.java#L124

Added line #L124 was not covered by tests

Check warning on line 140 in server/src/main/java/org/opensearch/search/pipeline/PipelineConfiguration.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/pipeline/PipelineConfiguration.java#L140

Added line #L140 was not covered by tests