Solr search views cache issue I have views for solr search result and I have highlight processor enabled. There seems to be cache issue effecting search result. Search results are rendered array of entities. For example: If I search 'content'. I see my result highlighting word 'content' correctly but when I search for result 'extraction', in the page with both words 'content' and 'extraction', it highlights 'content'. I used 

\Drupal::service('page_cache_kill_switch')-&gt;trigger();


in views pre_render but didn't work as expected. Views advanced setting already has caching set to none. 

Can anyone help me disabling cache for this particular view?

Thank you.
When you go to /admin/config/search/search-api and then click to edit your index, there is a checkbox for "Index items immediately" under the "Index Options" section. That is the only way I've found to get Solr Views to output new content immediately after it's created.