-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat: Allow Configuration of Custom Fields to be Searchable #13749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Allow Configuration of Custom Fields to be Searchable #13749
Conversation
OpenAPI SnapshotProject:
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## trunk #13749 +/- ##
==========================================
+ Coverage 54.41% 54.44% +0.03%
==========================================
Files 3204 3207 +3
Lines 96436 96525 +89
==========================================
+ Hits 52474 52552 +78
- Misses 43962 43973 +11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
1855850 to
dec1cfe
Compare
39dc0f5 to
fed1935
Compare
...re/Migration/V6_7/Migration1764064757SetSearchableForExistingCustomFieldsInProductSearch.php
Show resolved
Hide resolved
|
Hey, could you provide some screenshots about your UI changes? |
1490c9b to
7c4db3c
Compare
d24317b to
b8dd8df
Compare
...re/Migration/V6_7/Migration1764064757SetSearchableForExistingCustomFieldsInProductSearch.php
Show resolved
Hide resolved
...inistration/Resources/app/administration/src/module/sw-settings-custom-field/snippet/de.json
Outdated
Show resolved
Hide resolved
...inistration/Resources/app/administration/src/module/sw-settings-custom-field/snippet/en.json
Outdated
Show resolved
Hide resolved
b187f0e to
4267ac1
Compare
912d274 to
ed2b924
Compare
ed2b924 to
c795186
Compare
|
Moved to this MR |
Pull request was closed
This pull request introduces a new feature that allows custom fields to be marked as searchable on a per-field basis, rather than being searchable by default. This change optimizes search index size and performance, especially for stores with many custom fields. The UI has been updated to support toggling the "Include in search" option for product custom fields, and relevant backend and frontend logic, tests, and translations have been added or updated to support this functionality.
Key changes:
Custom Field Searchability Feature:
includeInSearchis set tofalsefor new custom fields, and the value is preserved for existing fields. [1] [2]Search Configuration and Filtering:
includeInSearch = true. [1] [2]includeInSearchworks as expected.Admin UI update:
Backend Support:
CustomFieldSearchableSubscriberregistered to handle backend logic related to searchable custom fields.