benwtrent commented on code in PR #13124:
URL: https://github.com/apache/lucene/pull/13124#discussion_r1499311351


##########
lucene/core/src/java/org/apache/lucene/codecs/lucene99/Lucene99HnswVectorsFormat.java:
##########
@@ -152,7 +153,25 @@ public Lucene99HnswVectorsFormat() {
    * @param beamWidth the size of the queue maintained during graph 
construction.
    */
   public Lucene99HnswVectorsFormat(int maxConn, int beamWidth) {
-    this(maxConn, beamWidth, DEFAULT_NUM_MERGE_WORKER, null);

Review Comment:
   I am not sure we want such configuration at all in a default codec. I would 
rather the concurrency is all controlled upstream. 
   
   My thought is that if we had all this part of the MergeState before, we 
wouldn't have updated the codec definition at all.
   
   In the future, as more things use parallelism maybe then we should consider 
adding this setting back (or a completely new setting).



-- 
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...@lucene.apache.org

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


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

Reply via email to