Skip to content

Commit f5e317e

Browse files
committed
remove unused param
1 parent e96dcaf commit f5e317e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/CategorizationAnalyzerConfig.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,9 @@ public static CategorizationAnalyzerConfig buildStandardCategorizationAnalyzer(L
217217
* however you can use these tokens for looking up messages in indices generated with the standard
218218
* tokenizer. The latter is considered more important.
219219
*/
220-
public static CategorizationAnalyzerConfig buildStandardEsqlCategorizationAnalyzer(List<String> categorizationFilters) {
220+
public static CategorizationAnalyzerConfig buildStandardEsqlCategorizationAnalyzer() {
221221

222222
return new CategorizationAnalyzerConfig.Builder().addCharFilter("first_line_with_letters")
223-
.addCategorizationFilters(categorizationFilters)
224223
.setTokenizer("standard")
225224
.addDateWordsTokenFilter()
226225
.addLimitFilter()

x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/aggregation/blockhash/CategorizeBlockHash.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
public class CategorizeBlockHash extends BlockHash {
5050

5151
private static final CategorizationAnalyzerConfig ANALYZER_CONFIG = CategorizationAnalyzerConfig
52-
.buildStandardEsqlCategorizationAnalyzer(List.of());
52+
.buildStandardEsqlCategorizationAnalyzer();
5353
private static final int NULL_ORD = 0;
5454

5555
private final int channel;

0 commit comments

Comments
 (0)