Product search Api gives irrelevant response

kuldi
Tourist
5 0 1

I am using a storefront Graphql Api to search the product from my store. But when I search for the "Bracelets' keyword it gives the desired response, but when I search for 'Bangles' keyword I get irrelevant data from the shopify, why is this happening.

I am using this graphql API to search the product

query{
products(first: 250, query: "title: bangles" ) {
edges {
node {
id
title
priceRange{
minVariantPrice{
currencyCode
amount
}
}
metafield(key:"rating_count", namespace:"reviews" ){
value
}
featuredImage{
url
}

}
}
}
}

Reply 1 (1)

oscprofessional
Shopify Partner
15782 2362 3068

Hello @kuldi 
The issue you're experiencing with the GraphQL API response returning irrelevant data when searching for the "Bangles" keyword could be due to several reasons.

To troubleshoot the issue further, consider trying the following steps:

  • Experiment with different search queries to see if you can narrow down the issue or identify any patterns in the search results.
  • Verify the product data in your Shopify store to ensure that the 'Bangles' keyword is correctly associated with the relevant products.
  • Review the search relevance settings in your Shopify store and adjust them if necessary.
  • Check the Shopify documentation or contact Shopify support for more specific guidance on configuring search behavior in the GraphQL API.

Remember that the specific behavior of the search functionality in the Shopify GraphQL API can be influenced by various factors, including your store setup, data quality, and configuration settings.

Thanks

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing