Contents  EagleFiler Manual  Translate  Technical Support

4.4.1   Search Query Syntax

As described in the Searching section of the manual, EagleFiler supports both indexed and exact searches. This section explains the syntax for those search types in more detail. To perform even complex searches with multiple criteria, you can use the New Smart Folder… command.

Indexed Searches

These support an enhanced query syntax:

&, AND
Boolean AND. The <space> character also represents a Boolean AND.
|, OR
Boolean inclusive OR.
!, -
Boolean NOT. For example, apple -orange finds records that contain apple and do not contain orange. (There has to be at least one non-negated term in the query; you cannot do a search for just -orange.)
(, )
Opening and closing delimiters for logical grouping. For example, (apple AND orange) OR (apple AND pear) finds records that contain apple and another fruit, but not ones that contain only apple.
"
Opening and closing delimiter for phrase-based searching. Phrase-based searches find records that contain all of the words in sequence. Non-word characters inside the quotes are treated as word separators and thus do not need to appear in the match.
*
Wildcard for prefix or suffix. Ignored in phrase-based searches. To search for a partial word, use two *’s, e.g. *ant* will find ant, repellant, anthem, and words with ant in the middle. If Match Partial Words is checked, EagleFiler will find partial word matches without your having to type the wildcards each time.

Examples:

  1. Searching for "IDP policy" "commit fails" finds records containing the two phrases IDP policy and commit fails (since the space implies AND).
  2. Searching for tech lead !"tech lead" finds records containing both tech and lead but not those two words in sequence.
  3. Searching for "ProductVersion 1.2" finds records containing the word ProductVersion followed by the word 1 and then the word 2. This includes records containing ProductVersion 1 2 as well as ProductVersion=1.2, because the = and . are considered to be word separator characters for indexed searches.

Tags Searches

If Match Partial Words is not selected, tag searching is exact, so you must type the complete tag names (with the proper case). If the tag name contains a space, put it in double quotes. You can put - or ! before a tag name to find records that don’t have that tag. (Because those characters have special meaning, it’s best not to use them in the names of your tags.)

Example: Searching for unread -flagged will find the records that are unread but not flagged.

Adding Tag Criteria to Exact and Indexed Searches

You can restrict any type of search to records with certain tags by adding tag:<tagname> at the beginning of the query. (This syntax is not available in smart folders; there you should create a separate Tags criterion.) If the tag name contains a space, put it in double quotes. The search will then match only the records with all of those tags.

Examples:

  1. Searching for tag:apple steve means to search for steve and show only the records with the apple tag.
  2. Searching for tag:-apple steve means to search for steve and show only the records without the apple tag.
  3. Searching for tag:mac tag:ipod halo !bungie means to find all the records that include the word halo, do not include the word bungie, and have both the mac and ipod tags.
  4. Searching for tag:"apple park" means to search for the tag apple park.
  5. Searching for tag:apple park means to search for park and show only the records with the tag apple.
  6. Searching for tag:-"apple park" park means to search for park and show only records without the tag apple park.
     Contents  EagleFiler Manual  Translate  Technical Support