FoxTrot Search Forum
FoxTrot Search for macOS Forum

Home » Public Forums » FoxTrot Search User Forum » Can we combine exclusion with proximity search?
Re: Can we combine exclusion with proximity search? [message #1499 is a reply to message #1494] Wed, 27 July 2022 18:22 Go to previous messageGo to previous message
FoxTrot Engineering
Messages: 384
Registered: April 2020
Senior Member
Searching for ["{5} inflation -job*"] is not supposed to prevent finding documents containing these words within this proximity. However, the found documents should contain at least one (other) occurrence of [inflation] that is not in the given proximity to a word starting with job.

If you want to find documents that contain [biden], but no occurrence of [inflation] near [job*] (whether they actually contain some occurrences of [inflation] or [job*]), use: [biden -"{5}inflation job*"]

If you want to find documents that contain both [biden] and [inflation], but no occurrence of [inflation] near [job*], use: [biden inflation -"{5}inflation job*"]

Note that there is actually a bug, in the preview: when searching for ["{0} inflation -job*"], the correct documents should be found, however the occurrences of [inflation] are highlighted in the preview even in the proximity of [job*]; and occurrences of [job*] are also highlighted although there is no reason.

Quote:
And if I try the Foxtrot Query ["{5} -job inflation"], then there's no result at all, even though it's the exact same query as the first one, but with the order of the conditions flipped around.
- if you typed a space between } and -, there is a syntax error ("incorrect search string" should be displayed at the bottom of the search result list)
- but you are true, if you remove this space (and add the * after job), the results are different, and I don't think they should. We will take a look at this


Jérôme - FoxTrot Engineering
 
Read Message
Read Message
Read Message
Previous Topic: Is Foxtrot Query heading toward deprecation?
Next Topic: Set viewer default size?
Goto Forum:
  


Current Time: Fri May 10 16:47:51 GMT+2 2024