Skip to content

Commit 850a4a4

Browse files
author
Isabel Drost-Fromm
committed
Fix SimpleQueryStringBuilder wildcard handling
Forgot to commit the very last change yesterday which led to analyzeWildcard to remain at the default value always. Relates to elastic#11274
1 parent bd7923a commit 850a4a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/elasticsearch/index/query/SimpleQueryStringBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public boolean lenient() {
263263

264264
/** Specifies whether wildcards should be analyzed. Defaults to false. */
265265
public SimpleQueryStringBuilder analyzeWildcard(boolean analyzeWildcard) {
266-
this.settings.analyzeWildcard(DEFAULT_ANALYZE_WILDCARD);
266+
this.settings.analyzeWildcard(analyzeWildcard);
267267
return this;
268268
}
269269

0 commit comments

Comments
 (0)