3 ms·
Yeah we used The Solr real time get handler and a few caching tricks - we updated the cached result set for the client so we didn’t need to request Solr immedia
by parasubvert 9y ago
Yeah we used The Solr real time get handler and a few caching tricks - we updated the cached result set for the client so we didn’t need to request Solr immediately. If I recall the cache had a TTL of about 30 seconds that could be bypassed with a refresh button for super users - intended to shock absorb the system for common queries. Generally it took a second for new data to be queriable. For the writes to Solr we listened for Hibernate events.
It’s been 5 years or so and I don’t think this has changed much with either Elastic or Solr product-wise