File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -123,10 +123,12 @@ public function getFields(array $context = []): array
123123
124124 $ groups = $ this ->groupRepository ->getList ($ searchCriteria )->getItems ();
125125 $ priceAttribute = $ this ->attributeAdapterProvider ->getByAttributeCode ('price ' );
126+ $ ctx = isset ($ context ['websiteId ' ]) ? ['websiteId ' => $ context ['websiteId ' ]] : [];
126127 foreach ($ groups as $ group ) {
128+ $ ctx ['customerGroupId ' ] = $ group ->getId ();
127129 $ groupPriceKey = $ this ->fieldNameResolver ->getFieldName (
128130 $ priceAttribute ,
129- [ ' customerGroupId ' => $ group -> getId (), ' websiteId ' => $ context [ ' websiteId ' ]]
131+ $ ctx
130132 );
131133 $ allAttributes [$ groupPriceKey ] = [
132134 'type ' => $ this ->fieldTypeConverter ->convert (FieldTypeConverterInterface::INTERNAL_DATA_TYPE_FLOAT ),
Original file line number Diff line number Diff line change 158158 <type name =" Magento\Search\Model\Search\PageSizeProvider" >
159159 <arguments >
160160 <argument name =" pageSizeBySearchEngine" xsi : type =" array" >
161- <item name =" elasticsearch6" xsi : type =" number" >2147483647 </item >
161+ <item name =" elasticsearch6" xsi : type =" number" >10000 </item >
162162 </argument >
163163 </arguments >
164164 </type >
You can’t perform that action at this time.
0 commit comments