Welcome to the Mythicsoft Q&A site for:

- Agent Ransack
- FileLocator Lite
- FileLocator Pro

Please feel free to ask any questions on these products or even answer other community member questions.

Useful Links:

- Contact Us
- Help Manuals
- Mythicsoft Home
0 votes

What exactly does "NEAR" mean then doing a boolean text search:

NEAR on the same line means what (characters, words, etc)

NEAR across the same file means what (number of lines separating them, number of characters, words, etc.)

I need to search a collection of files for all instances where two regular expressions match within XX lines (4 in my case) and I want to understand how to do this or how to adjust the parameters for NEAR.

Thanks!

by (20 points)

1 Answer

0 votes

NEAR only matches terms if they are found within a certain number of characters from each other, the default is 100 characters. You can change the number of characters in the Configuration Settings or actually specify it in the search term, e.g.

TermOne NEAR:50 TermTwo
by (29.5k points)
...