Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
SolrClientBuilder has the capability to configure a timeout, but the usage in SolrStream accepts the hard-coded default:
/** * Opens the stream to a single Solr instance. **/ public void open() throws IOException { if(cache == null) { client = new HttpSolrClient.Builder(baseUrl).build(); } else { client = cache.getHttpSolrClient(baseUrl); }
While it might also be possible to specify the timeout in the expression, that also sounds like something that bloats the high level expression with low level concerns, so this ticket proposes to have SolrStream set a timeout on the builder which it will get from the StreamContext. When instantiated by the stream handler, the stream context in turn will set this based on a default timeout for inter-node communication defined in solr.xml.
Attachments
Issue Links
- relates to
-
SOLR-13457 Managing Timeout values in Solr
- Open
-
SOLR-14672 Make timeouts configurable for the Streaming Expression SolrClientCache
- Resolved