Re: BUG: Cannot combine Foxtrot Query's exclusion syntax across multiple search fields [message #1498 is a reply to message #1496] |
Wed, 27 July 2022 16:01 |
FoxTrot Engineering
Messages: 385 Registered: April 2020
|
Senior Member |
|
|
1) In essence, a FoxTrot query consists of locating in the index the documents that contain one or multiple full words. There are a few refinements which allow finding partial words (a*, *a, *a*), finding one of several words (a | b | c), searching in specific metadata or content fields only, ignoring found documents where searched words are not found consecutively ("a b") or in a given proximity range, ignoring found documents containing some other words (a -b), ignoring found documents where the found words use different casing, etc. You can also use a boolean AND / OR (all criteria / any criterion) with multiple queries.
But there is no way to just locate in the index the documents that do not contain some words. And you can't use complex boolean operations like: (a OR b) AND (c OR d) nor: a AND NOT b.
2) No, we do not have this level of flexibility. But maybe you can manage to create a regular expression that fulfills your needs, e.g. msnbc( \w+){0,4} ?cnn|cnn( \w+){0,4} ?msnbc
Jérôme - FoxTrot Engineering
|
|
|