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
Feedback sent
We appreciate your effort and will try to fix the article