Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Make search pages faster by not loading the entities if not required. The data can live in the index.
We should be able to mix local data (that can be loaded with entity_load with external data in the same search page. We need a mechanism to enable this and possibly even recognize if we can get all the data from the server, we should. Entity loads should be our final step in the process and only be done when really needed.
Proposed resolution
Unidentified
Remaining tasks
Unidentified
User interface changes
Unidentified
API changes
Unidentified
Related Issues
#2138837: Add more flexibility in how we show data in an index
Comments
Comment #1
drunken monkeyWe have already implemented this years ago, we currently only load the entities if it's really necessary. The Entity API issue #2028337: Allow Views Field API field handler to avoid loading the entity would reduce this even further, but it's hard to say when that will be fixed.
(Also, there is currently a regression in the Entity API that removes this functionality – see #1796110: Rendered entity fields show same result.)