Enable Real time indexing

Created on 27 April 2023, almost 2 years ago
Updated 29 April 2023, almost 2 years ago

Setup

  • Solr version: 8.0.0
  • Drupal Core version: 9.3.16
  • Search API version:8.x-1.28
  • Search API Solr version:8.x-3.9
  • Configured Solr Connector: Solr cloud with basic auth

I have setup, where if a node is updated, the page will be returned back to the dashboard with the latest data about the node. Drupal view is used for the dashboard. When a node is formed or edited, the problem I'm having is that the dashboard doesn't refresh immediately with the updated data. I even updated the commit within 30 ms, but the problem persisted. While doing more research, I discovered the following line in the solrconfig.xml file. If I can figure out a method to change these values, I will be able to achieve real-time indexing results.

One more thing we have 3 search servers for solr.

Existed in File:


${solr.autoCommit.MaxDocs:-1}
${solr.autoCommit.MaxTime:15000}
false


${solr.autoSoftCommit.MaxDocs:-1}
${solr.autoSoftCommit.MaxTime:-1}

💬 Support request
Status

Fixed

Version

3.9

Component

Code

Created by

🇮🇳India pratikshad Mumbai

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024