Re: Stale comment in MergeScheduler?

Viliam ġurina <[email protected]> Thu, 19 Mar 2026 16:33:03 +0100
Newsgroups gmane.comp.jakarta.lucene.user
Message-ID <CAO=iB8KLAYZ4Sv6km0b8eAytJKb_UdYKheAH9-2LC29uWBdv8A@mail.gmail.com>
--000000000000f1f0ea064d624ad0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Looks like it happens in `IndexWriter.registerMerge()`

On Thu, Mar 19, 2026 at 4:25=E2=80=AFPM Viliam =C4=8Eurina <viliam.durina@g=
mail.com>
wrote:

> Hi all,
>
> I'm trying to understand the merge scheduling in detail, and I stumbled
> across this comment:
> https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apach=
e/lucene/index/ConcurrentMergeScheduler.java#L550-L555
>
> This comment is there from the first incarnation of
> ConcurrentMergeScheduler (see
> https://github.com/apache/lucene/commit/299d6357dd296f87a099fadd0764292b2=
8dbde47#diff-23900fa379fb66ff248ad4e66408a76607915862cc2130b35e0cd5686deee6=
ac),
> but neither in the current, nor in the very first version I don't see any
> selection of orthogonal merges.
>
> Is the comment stale or invalid?
>
> Viliam
>

--000000000000f1f0ea064d624ad0--