Observed behavior
Currently, we are unnecessarily querying contentnode tags in import search API. We don't need to annotate content_tags since now we get that info from the public API.
Expected behavior
Remove thumbnail_extension, thumbnail_checksum and content_tags annotation code. Also remove items from field_map that are commented out in values of SearchContentNodeViewSet.
User-facing consequences
Querying content_tags has a huge impact on import search performance. Now that we are safe to remove that querying from the search API, we should gain substantial performance improvement.
Usage Details
- OS: Ubuntu 22.04
- Browser: Chrome
- URL: unstable branch
Observed behavior
Currently, we are unnecessarily querying contentnode tags in import search API. We don't need to annotate
content_tagssince now we get that info from the public API.Expected behavior
Remove
thumbnail_extension,thumbnail_checksumandcontent_tagsannotation code. Also remove items fromfield_mapthat are commented out invaluesofSearchContentNodeViewSet.User-facing consequences
Querying
content_tagshas a huge impact on import search performance. Now that we are safe to remove that querying from the search API, we should gain substantial performance improvement.Usage Details