We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7b998e commit 132772cCopy full SHA for 132772c
src/routes/projects/list.js
@@ -64,7 +64,7 @@ const buildEsFullTextQuery = (keyword, matchType, singleFieldName) => {
64
query: {
65
query_string: {
66
query: (matchType === MATCH_TYPE_EXACT_PHRASE) ? keyword : `*${keyword}*`,
67
- analyze_wildcard: (matchType === MATCH_TYPE_WILDCARD),
+ analyze_wildcard: (matchType === MATCH_TYPE_WILDCARD || matchType === MATCH_TYPE_SINGLE_FIELD),
68
fields: ['details.utm.code^4'],
69
},
70
0 commit comments