# Using "Near" in a search

**URL:** <https://discourse.devontechnologies.com/t/using-near-in-a-search/87923>\
**Category:** DEVONthink\
**Created:** [October 28, 2026, 12:11am UTC](https://discourse.devontechnologies.com/t/using-near-in-a-search/87923 "2026-10-28T00:11:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Athirne](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@Athirne](https://discourse.devontechnologies.com/u/Athirne)\
**Post date:** [October 28, 2026, 12:11am UTC](https://discourse.devontechnologies.com/t/using-near-in-a-search/87923/1 "2026-10-28T00:11:28Z")

</div>

Does anyone know the maximum number of words between two words when executing a “near” search? I ask because I have two documents with the same two words in them that fit my definitio of “near” but apparently not of DT. I have no other explanation for why DT didn’t pick up the second appearance of the two words.

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [October 28, 2026, 12:59am UTC](https://discourse.devontechnologies.com/t/using-near-in-a-search/87923/2 "2026-10-28T00:59:42Z")

</div>

As shown in the _Appendix \> Search Operators_ section of the documentation, 10 words or less. And you can vary that with a slash, e.g., `this NEAR/5 that`.

---

<div class="post-metadata">

**Author:** ![Athirne](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@Athirne](https://discourse.devontechnologies.com/u/Athirne)\
**Post date:** [October 28, 2026, 2:17am UTC](https://discourse.devontechnologies.com/t/using-near-in-a-search/87923/3 "2026-10-28T02:17:19Z")

</div>

Bluefrog:

Thank you, Jim. I had quickly read that part of the Help 8 or more months ago, but being a newbie, I was overwhelmed with the amount of information and it didn’t “stick.” I see there is another option, which worked for me: term1 NEAR/n term2. That operator found what I was looking for, which was more than 10 words apart. I suppose I can find the upper limit n in the operator NEAR/n by creating a test document and vary the distance to see when DT says, nope - won’t do it.

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [October 28, 2026, 5:59am UTC](https://discourse.devontechnologies.com/t/using-near-in-a-search/87923/4 "2026-10-28T05:59:13Z")

</div>

> [@Athirne](#):
>
> term1 NEAR/n term2

That’s what I mentioned in my reply 🤔🙂

And you’re welcome.
