How to conduct proximity search?

Discussion, questions and support.
Post Reply
Message
Author
Raindrops
Posts: 30
Joined: 20.12.2021, 08:36

How to conduct proximity search?

#1 Post by Raindrops » 04.03.2022, 13:05

Hi

I would like FC to carry out proximity search (finding files where two words or phrases are within n words of each other.)
Where n is a user-specified search parameter.

Can anyone help me with this (possibly with RegEx)?

Please also suggest how to do proximity search if the order of the words/phrases is immaterial.
That is, the user wants to find both of the following patterns:
<phrase1> <up to n words> <phrase2>
<phrase2> <up to n words> <phrase1>

User avatar
SupremeAutoCity
Posts: 1
Joined: 26.03.2022, 10:37
Location: United States
Contact:

Re: How to conduct proximity search?

#2 Post by SupremeAutoCity » 26.03.2022, 10:44

To do a proximity search, put all key terms that you want in the query within quotation marks, followed by the tilde ~ and the numerical value that represents the proximity you wish to search.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest