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.
One of the result of #2750719: Profile the module for performance bottlenecks was that, even for sites with lots of nodes, about 99% of the search time are actually just spent for highlighting the results. Which is especially insane, since the default view provided by the Defaults module doesn't even show the highlighted data, but just the rendered node.
So, I think it would be a good idea to just disable the highlighting processor in the Defaults module. Any comments to that?
Comment | File | Size | Author |
---|---|---|---|
#3 | search_api-disable_highlighting_processor_in_the_defaults_module-2774407-3.patch | 811 bytes | alan-ps |
Comments
Comment #2
alan-ps CreditAttribution: alan-ps commentedMakes sense for me. I will look at this.
Comment #3
alan-ps CreditAttribution: alan-ps commentedThis is a patch for reviewing. After enabling a module, "highlight" option will be disabled for "Default content index".
Comment #5
alan-ps CreditAttribution: alan-ps commentedComment #7
drholera CreditAttribution: drholera at Adyax commentedChecking.
Comment #8
borisson_The test fails because of #2784849: Tests fail w/ out of memory error..
Comment #10
drholera CreditAttribution: drholera at Adyax commentedYes, I see. This problem related only with core 8.3.x and brakes a lot of issues.
I tested #3 patch locally on fresh drupal 8.3.x core install and patch is correct and works as expected.
Comment #11
mpp CreditAttribution: mpp as a volunteer and at AmeXio commentedSee https://www.drupal.org/node/2784849#comment-11533091
Comment #13
drunken monkeyLooks good, thanks!
Committed.