FoxTrot Search Forum
FoxTrot Search for macOS Forum

Home » Public Forums » FoxTrot Search User Forum » nested or concatenated proximity searches for strings
nested or concatenated proximity searches for strings [message #1068] Tue, 23 June 2020 22:03 Go to next message
Lrpom
Messages: 8
Registered: April 2020
Junior Member
Is it possible to create a search like ("John Smith" within 4 words of "Bill Jones") within 3 words of "Greg Brown"? For example, can I find "John Smith, a close friend of Bill Jones, wants to meet Greg Brown"? If this is possible, please let me know the syntax to use. Thanks.
Re: nested or concatenated proximity searches for strings [message #1072 is a reply to message #1068] Thu, 25 June 2020 19:33 Go to previous message
FoxTrot Engineering
Messages: 406
Registered: April 2020
Senior Member
Quote:
Is it possible to create a search like ("John Smith" within 4 words of "Bill Jones") within 3 words of "Greg Brown"?
No; However if you search for:
[includes neighboring words] [4 words] ["John Smith" "Bill Jones" "Greg Brown"]
Then the exact condition is that the first word (or group of quoted words, in this case [John Smith]) should be found within the given distance of all of the other words (or groups of quoted word).

For example, if you search the above query with [1 word] distance, it will find:
Bill Jones and John Smith and Greg Brown
but won't find:
John Smith and Bill Jones and Greg Brown
as [John Smith] (the first item) and [Greg Brown] (one of the other items) are in the later case actually separated by 4 words.


Jérôme - FoxTrot Engineering
Previous Topic: Indexing Apple Notes
Next Topic: Highlighted results shown in Preview Pane (FT Pro)
Goto Forum:
  


Current Time: Thu Nov 21 14:27:40 GMT+1 2024