janhoy commented on code in PR #1861:
URL: https://github.com/apache/solr/pull/1861#discussion_r1302625590


##########
solr/solr-ref-guide/modules/configuration-guide/pages/caches-warming.adoc:
##########
@@ -343,6 +355,34 @@ A key best practice is to modify these defaults before 
taking your application t
 There is no point in auto-warming your Searcher with the query string "static 
firstSearcher warming in solrconfig.xml" if that is not relevant to your search 
application.
 ====
 
+### Multi-threaded listener warming
+
+If you have a large list of queries you are running via the listeners you 
might want to enable multi-threading listener warming by specifying the 
`<threads>` element:
+
+[source,xml]
+----
+<listener event="newSearcher" class="solr.QuerySenderListener">
+  <threads>4</threads>

Review Comment:
   Normally we use `<int name="threads">4</int>` style of namedList config many 
places in solrconfig. I suppose you get some type casting for free then? 
Personally I  am not opposed to a more custom XML syntax, just asking whether 
you considered that format as an alternative?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to