Hi Guys, I have a sku in my products collection "...
# community-help
s
Hi Guys, I have a sku in my products collection "HNC324G2-XDRB28" if I search for 324g2xd nothing comes up is there any way to make that it should find this sku? This is my search query:
Copy code
const semanticSearchParams = {
        collection: 'products',
        q: query.toLowerCase(), // Ensure this contains the search term
        query_by: 'sku,product_name, description',
        query_by_weights: '8,4,2', //ioritize product_name over SKU
        sort_by: '_text_match:desc', // Ensures keyword matches come first
        vector_query: `embedding:([${queryVector}], k:100, distance_threshold:0.6, alpha:0.7)`,
        exclude_fields: 'embedding',
        group_by: 'parent_id',
        group_limit: 1,
        per_page: 6, // Slightly increase for better results
      };
j
s
Hi @Jason Bosco, I updated my schema, and updated the query to include the infix parameter but I don't see the search improving. Thank you
j
Could you share a set of curl commands like this that replicates the issue: https://gist.github.com/jasonbosco/7c3432713216c378472f13e72246f46b