Compare properties

Discussion related to "Everything" 1.5 Alpha.
Post Reply
void
Developer
Posts: 15352
Joined: Fri Oct 16, 2009 11:31 pm

Compare properties

Post by void »

To compare properties, include the following in your search:

property1:==property2:

Where property1 is your first property and property2 is your second property.



For example:
dm:==date-taken:
stem:==ext:
regmatch1:==sha512sumsha512:



Use the case: search modifier to match case.
Use the diacritics: search modifier to match diacritics.

For example:
case:regmatch1:==sha512sumsha512:



Use double quotes ("") to escape literal text.

For example, find the literal text ==sha512sumsha512: in regmatch1:
regmatch1:"==sha512sumsha512:"



The following operators are supported:
== is equal
!= is not equal
<= less than or equal
>= greater than or equal
< less than
> greater than

Everything will try to match properties with a number primitive first and then fall back to text comparison.
(kind-of like Javascript)

Number primitives support the following additional operators:
(no operator) is equal
= is equal
! is not equal
Post Reply