Currently, when I use the API api/rest/v1/products?with_count=false&scope=ecommerce&locales=en_US,vi_VN&pagination_type=search_after&limit=100&search=%7B%22family%22:%5B%7B%22operator%22:%22NOT%20IN%22,%22value%22:%5B%22Accessories%22,%22Animal%22,%22battery%22,%22beverage%22,%22dhp%22,%22equipment%22,%22food%22,%22lounge%22,%22montclair%22,%22nespresso%22,%22nonfood%22,%22nongoods%22,%22service%22,%22voucher%22,%22wine%22%5D%7D,%7B%22operator%22:%22IN%22,%22value%22:%5B%22Console%22%5D%7D%5D,%22updated%22:%5B%7B%22operator%22:%22BETWEEN%22,%22value%22:%5B%222024-07-20%2000:00:00%22,%222024-07-25%2023:59:59%22%5D%7D%5D%7D to fetch the product data from PIM, sometime it returns the result like below screenshot
When I turn off the Elasticsearch container, the issue won't occur anymore, so I think the issue might related to Elasticsearch, I already run these commands below to reset the index before:
:bug: I'm reporting a Bug :bug:
Currently, when I use the API
api/rest/v1/products?with_count=false&scope=ecommerce&locales=en_US,vi_VN&pagination_type=search_after&limit=100&search=%7B%22family%22:%5B%7B%22operator%22:%22NOT%20IN%22,%22value%22:%5B%22Accessories%22,%22Animal%22,%22battery%22,%22beverage%22,%22dhp%22,%22equipment%22,%22food%22,%22lounge%22,%22montclair%22,%22nespresso%22,%22nonfood%22,%22nongoods%22,%22service%22,%22voucher%22,%22wine%22%5D%7D,%7B%22operator%22:%22IN%22,%22value%22:%5B%22Console%22%5D%7D%5D,%22updated%22:%5B%7B%22operator%22:%22BETWEEN%22,%22value%22:%5B%222024-07-20%2000:00:00%22,%222024-07-25%2023:59:59%22%5D%7D%5D%7D
to fetch the product data from PIM, sometime it returns the result like below screenshotsometimes it return the empty items like this
This URL was used by plugin magento2-connector-community (101.3.4) to import product from PIM to Magento.
When I turn off the Elasticsearch container, the issue won't occur anymore, so I think the issue might related to Elasticsearch, I already run these commands below to reset the index before:
This is my docker-compose.yml:
and this is docker-compose.override.yml
Below is the attached elasticsearch log and system log file: akeneo-pim-system-info_2024-07-23_09_46.txt es_log.txt
Thank you in advance.