Using "Near" in a search

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.

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.

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.

That’s what I mentioned in my reply :thinking::slightly_smiling_face:

And you’re welcome.