Skip to content

Commit

Permalink
minor refactoring and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andreidan committed Oct 17, 2024
1 parent 4717b82 commit e61f0a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
import java.io.IOException;
import java.util.Objects;

import static org.elasticsearch.index.mapper.DataTierFieldMapper.CONTENT_TYPE;

/**
* A Query that matches documents containing a term.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public Map<String, MetadataFieldMapper.TypeParser> getMetadataMappers() {
}
});

private static final String[] EXPECTED_METADATA_FIELDS = new String[]{
private static final String[] EXPECTED_METADATA_FIELDS = new String[] {
IgnoredFieldMapper.NAME,
IdFieldMapper.NAME,
RoutingFieldMapper.NAME,
Expand All @@ -98,7 +98,7 @@ public Map<String, MetadataFieldMapper.TypeParser> getMetadataMappers() {
DocCountFieldMapper.NAME,
DataStreamTimestampFieldMapper.NAME,
DataTierFieldMapper.NAME,
FieldNamesFieldMapper.NAME};
FieldNamesFieldMapper.NAME };

@UpdateForV9(owner = UpdateForV9.Owner.SEARCH_FOUNDATIONS)
@AwaitsFix(bugUrl = "test is referencing 7.x index versions so needs to be updated for 9.0 bump")
Expand Down

0 comments on commit e61f0a0

Please sign in to comment.