zepgram / module-disable-search-engine

Module to disable OpenSearch/Elasticsearch in Magento2. Disable also fulltext indexing for category search.
MIT License
79 stars 10 forks source link

Not working for Magento ver. 2.4.6 and Magento ver. 2.4.7-p2 (Openseach) #20

Open dodiya-divyarajsinh opened 6 days ago

dodiya-divyarajsinh commented 6 days ago

We have installed this module in 2.4.6 and 2.4.7-p2 it disables the module and indexing is done properly with all commands but it breaks GraphQl queries. GraphQl queries like products etc are not working and give an empty response with no error.

{products(filter:{sku:{eq:"roundstickers"}}){items{id name sku media_gallery { url label position disabled }}}}

zepgram commented 6 days ago

Hello, you cannot query native graphQL products since it relies on the Elasticsearch engine. You need your own elasticsearch query or external providers like Nosto, Algolia, PIM engine etc... to display your products in frontend.

Le lun. 21 oct. 2024 à 11:56, dodiya-divyarajsinh @.***> a écrit :

We have installed this module in 2.4.6 and 2.4.7-p2 it disables the module and indexing is done properly with all commands but it breaks GraphQl queries. GraphQl queries like products etc are not working and give an empty response with no error.

{products(filter:{sku:{eq:"roundstickers"}}){items{id name sku media_gallery { url label position disabled }}}}

— Reply to this email directly, view it on GitHub https://github.com/zepgram/module-disable-search-engine/issues/20, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4BLLTYME7ACAEMLJC3CV3Z4TFVNAVCNFSM6AAAAABQJYVANKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYDEMBQGU2DCMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>