File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
app/code/Magento/CatalogGraphQl/etc Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 15
15
<queries >
16
16
<query xsi : type =" boolQuery" name =" graphql_product_search_with_aggregation" boost =" 1" >
17
17
<queryReference clause =" should" ref =" search" />
18
+ <queryReference clause =" should" ref =" partial_search" />
18
19
<queryReference clause =" must" ref =" category" />
19
20
<queryReference clause =" must" ref =" price" />
20
21
<queryReference clause =" must" ref =" visibility" />
23
24
<match field =" sku" />
24
25
<match field =" *" />
25
26
</query >
27
+ <query xsi : type =" matchQuery" value =" $search_term$" name =" partial_search" >
28
+ <match field =" name" matchCondition =" match_phrase_prefix" />
29
+ </query >
26
30
<query name =" category" xsi : type =" filteredQuery" >
27
31
<filterReference clause =" must" ref =" category_filter" />
28
32
</query >
You can’t perform that action at this time.
0 commit comments