-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from storefront-x/feature/PX-1428
PX-1428 Gorans update
- Loading branch information
Showing
4 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0"?> | ||
<requests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:framework:Search/etc/search_request.xsd"> | ||
<!-- Request schema for product search excluding aggregation --> | ||
<request query="graphql_product_search" index="catalogsearch_fulltext"> | ||
<queries> | ||
<query xsi:type="boolQuery" name="graphql_product_search" boost="1"> | ||
<queryReference clause="must" ref="entity_id"/> | ||
</query> | ||
<query name="entity_id" xsi:type="filteredQuery"> | ||
<filterReference clause="must" ref="entity_id"/> | ||
</query> | ||
</queries> | ||
<filters> | ||
<filter xsi:type="termFilter" name="entity_id" field="_id" value="$id$"/> | ||
</filters> | ||
</request> | ||
<!-- Request schema for product search including aggregation --> | ||
<request query="graphql_product_search_with_aggregation" index="catalogsearch_fulltext"> | ||
<queries> | ||
<query xsi:type="boolQuery" name="graphql_product_search_with_aggregation" boost="1"> | ||
<queryReference clause="must" ref="entity_id"/> | ||
</query> | ||
<query xsi:type="filteredQuery" name="entity_id"> | ||
<filterReference clause="must" ref="entity_id"/> | ||
</query> | ||
</queries> | ||
<filters> | ||
<filter xsi:type="termFilter" name="entity_id" field="_id" value="$id$"/> | ||
</filters> | ||
<aggregations> | ||
</aggregations> | ||
</request> | ||
</requests> |