mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
reduce Levenshtein distance for valid suggestions
This commit is contained in:
parent
3b1bb5df68
commit
dd80d4d69c
@ -9,7 +9,7 @@ public class ConfigSuggestions {
|
||||
|
||||
public static Optional<String> getForParam(ConfigModel model, String param) {
|
||||
return suggestAlternateCase(model,param)
|
||||
.or(() -> suggestAlternates(model,param,5));
|
||||
.or(() -> suggestAlternates(model,param,4));
|
||||
}
|
||||
|
||||
private static Optional<String> suggestAlternateCase(ConfigModel model, String param) {
|
||||
|
Loading…
Reference in New Issue
Block a user