Strange search results in document returning inconsistent number of hits

I’m having a strange issue with DT 3.9.17 running on a MBP M3 Max with MacOS 26.5.1 — see screenshots.

I copied and pasted a Wikipedia page into a DT3 Formatted Note. When I search for “mine” with “Ignore Case” checked and “Enable Operators & Wildcards” unchecked I get 38 results—but for some reason the side panel in the document only lists 27, when scrolling all the way down. I’ve clicked through, and there are indeed 38.

When I search for “mine” with both “Ignore Case” and “Enable Operators & Wildcards” checked I get less results—only 22—with just 15 of those listed in the sidebar. Shouldn’t I get at least as many?

And when I search for “min*” with “Ignore Case” checked and “Enable Operators & Wildcards” checked I get more results than for “mine”—32—but less than searching for “mine” without Operators/Wildcards, and only 22 of those are listed in the sidebar. Again, my understanding would be that I would get at least as many or more than “mine” without Operators/Wildcards.

Any idea what’s going on here? Am I doing something wrong, misunderstanding how search works, or is there a bug? And is the fact that less results are listed in the sidebar than are found have to do with some sort of setting I’ve failed to consider, or is that also a bug? I did my utmost to search (no pun) past forum discussions, but was unable to find anyone with similar issues.

Thanks in advance!

William

PS: I am happy to attach the Formatted Note, but am unsure what format to which I should export it first.

  1. Drag and drop it to your desktop.
  2. Control-click > Compress it.
  3. Post the ZIP here.

Thanks! Sorry for the delay…

TM-62 - Wikipedia.html.zip (190.1 KB)

No worries and thank you!

Thank you! Will you all let me know what you find? Just wondering if it’s actually a bug or if I’m just misunderstanding how to use the search features/settings.

Following up—I realized that some of the listed “Occurrences” include multiple hits, and that expanding the right-side panel reveals them. The ellipses next to the numbered “Occurrences” are obviously to indicate that they’ve been truncated.

Assuming this is intentional, how does DT break down the “Occurrences”—by paragraph?

Lastly, a slightly different question on roughly the same topic: I have “Live and partial matches while typing” turned on in the main search field at the top, but the in-note search (in the right side-panel of a note) does not return partial matches, nor does it search live. For some reason, I thought that it used to do both—am I simply mistaken, or is there a setting I somehow changed?

Thank you so much, and I apologize for what now seems like a silly and self-evident question!