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?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drunken monkey created an issue. See original summary.

alan-ps’s picture

Assigned: Unassigned » alan-ps

Makes sense for me. I will look at this.

alan-ps’s picture

This is a patch for reviewing. After enabling a module, "highlight" option will be disabled for "Default content index".

Status: Needs review » Needs work
alan-ps’s picture

Assigned: alan-ps » Unassigned

drholera’s picture

Checking.

borisson_’s picture

drholera’s picture

Yes, 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.

mpp’s picture

  • drunken monkey committed 4f7f807 on 8.x-1.x authored by alan-ps
    Issue #2774407 by alan-ps: Disabled the "Highlighting" processor in the...
drunken monkey’s picture

Status: Needs work » Fixed

Looks good, thanks!
Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.