Skip to content

Commit

Permalink
remove micro benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Nov 14, 2024
1 parent f7024ef commit 4f246ad
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 3,167 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,9 @@
import java.util.Map;

public class MapperServiceFactory {
public static MapperService create(String mappings) {
return create(Settings.EMPTY, mappings);
}

public static MapperService create(Settings userSettings, String mappings) {
public static MapperService create(String mappings) {
Settings settings = Settings.builder()
.put(userSettings)
.put("index.number_of_replicas", 0)
.put("index.number_of_shards", 1)
.put(IndexMetadata.SETTING_VERSION_CREATED, IndexVersion.current())
Expand Down
Loading

0 comments on commit 4f246ad

Please sign in to comment.