File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lucene/core/src/java/org/apache/lucene Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -809,7 +809,7 @@ public double getNoCFSRatio() {
809809 /**
810810 * If a merged segment will be more than this percentage of the total size of the index, leave the
811811 * segment as non-compound file even if compound file is enabled. Set to 1.0 to always use CFS
812- * regardless of merge size.ue.
812+ * regardless of merge size.
813813 */
814814 public void setNoCFSRatio (double noCFSRatio ) {
815815 if (noCFSRatio < 0.0 || noCFSRatio > 1.0 ) {
Original file line number Diff line number Diff line change @@ -688,7 +688,7 @@ public Partition call() throws IOException {
688688
689689 PriorityQueue <FileAndTop > queue =
690690 PriorityQueue .usingComparator (
691- segmentsToMerge .size (), Comparator .comparing (ft -> ft .current ));
691+ segmentsToMerge .size (), Comparator .comparing (ft -> ft .current , comparator ));
692692
693693 ByteSequencesReader [] streams = new ByteSequencesReader [segmentsToMerge .size ()];
694694
You can’t perform that action at this time.
0 commit comments