Closed
Conversation
DigiKey search was returning every part except the one I needed. 1) Removed context processing which seemed to overly restrict the search to one component type. 2) Increased search limits to 50 (Digikey max) 3) Included both exact match and fuzzy match finds in the results with the exact matches first.
replaysMike
approved these changes
Jun 27, 2025
| CategoryFilter = taxonomies.Any() | ||
| ? taxonomies.Select(x => new FilterId() { Id = ((int)x).ToString() }).ToList() | ||
| : new List<FilterId>(), | ||
| //CategoryFilter = taxonomies.Any() |
Owner
There was a problem hiding this comment.
I will include this as part of v2.6.18 - I don't know if it will have any negative effects but seems to warrant some testing
| if (!response.Products.Any()) return Task.CompletedTask; | ||
|
|
||
| var imagesAdded = 0; | ||
| foreach (var part in response.ExactMatches) |
Owner
There was a problem hiding this comment.
moving this to the new part info processor in v2.6.18
Owner
|
Looks good. Closing the PR and will apply these changes against the new architecture in v.2.6.18 today |
replaysMike
pushed a commit
that referenced
this pull request
Jun 27, 2025
replaysMike
pushed a commit
that referenced
this pull request
Jul 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DigiKey search was returning every part except the one I needed.