File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
app/code/Magento/CatalogGraphQl/etc Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 25
25
<match field =" *" />
26
26
</query >
27
27
<query xsi : type =" matchQuery" value =" $search_term$" name =" partial_search" >
28
+ <match field =" *" />
28
29
<match field =" name" matchCondition =" match_phrase_prefix" />
30
+ <match field =" sku" matchCondition =" match_phrase_prefix" />
29
31
</query >
30
32
<query name =" category" xsi : type =" filteredQuery" >
31
33
<filterReference clause =" must" ref =" category_filter" />
65
67
<queries >
66
68
<query xsi : type =" boolQuery" name =" graphql_product_search" boost =" 1" >
67
69
<queryReference clause =" should" ref =" search" />
70
+ <queryReference clause =" should" ref =" partial_search" />
68
71
<queryReference clause =" must" ref =" category" />
69
72
<queryReference clause =" must" ref =" price" />
70
73
<queryReference clause =" must" ref =" visibility" />
73
76
<match field =" sku" />
74
77
<match field =" *" />
75
78
</query >
79
+ <query xsi : type =" matchQuery" value =" $search_term$" name =" partial_search" >
80
+ <match field =" *" />
81
+ <match field =" name" matchCondition =" match_phrase_prefix" />
82
+ <match field =" sku" matchCondition =" match_phrase_prefix" />
83
+ </query >
76
84
<query name =" category" xsi : type =" filteredQuery" >
77
85
<filterReference clause =" must" ref =" category_filter" />
78
86
</query >
You can’t perform that action at this time.
0 commit comments