Supply: Unexpected MPNs being returned

Modified on Wed, 13 Sep 2023 at 01:00 PM

When searching or matching sometimes additional parts are found where the MPNs differ only by non-alphanumeric characters, such as - or ..

For example, consider a supMultiMatch query for the following MPN:

query MultiMatch {
  supMultiMatch(queries: {mpn: "ASV-18432MHZ-EJ-T", limit: 5}) {
    hits
    parts {
      mpn
    }
  }
}

This may return multiple MPNs such as ASV-18.432MHZ-EJ-T as well as ASV-1.8432MHZ-E-J-T (and others).

This behaviour is due to the way parts are "tokenized" for indexing in the elastic search engine.

If an exact character match is required, the client application should compare the resulting MPNs against the input and filter.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article