Skip to content

Commit e4d4830

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent f9344bf commit e4d4830

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

x-pack/plugin/mapper-patterned-text/src/main/java/org/elasticsearch/xpack/patternedtext/PatternedTextFieldType.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,7 @@ private IOFunction<LeafReaderContext, CheckedIntFunction<List<Object>, IOExcepti
116116

117117
private Query sourceConfirmedQuery(Query query, SearchExecutionContext context) {
118118
// Disable scoring
119-
return new ConstantScoreQuery(
120-
new SourceConfirmedTextQuery(query, getValueFetcherProvider(context), indexAnalyzer)
121-
);
119+
return new ConstantScoreQuery(new SourceConfirmedTextQuery(query, getValueFetcherProvider(context), indexAnalyzer));
122120
}
123121

124122
private IntervalsSource toIntervalsSource(IntervalsSource source, Query approximation, SearchExecutionContext searchExecutionContext) {

0 commit comments

Comments
 (0)