On Monday, February 10, 2020 at 12:59:30 AM UTC-8, Mohammad wrote:
Each input title is processed in turn. If the corresponding tiddler contains field F, and the value of this field is not empty, then its value is appended to the output.
Unlike most other Filter Operators, the selection output by get can contain duplicates. To avoid duplicates, use each[F]get[F].
Note that this documentation says "its value is appended"... but does *not* say "dominantly appended", and then it goes on to explain that this means the output "can contain duplicates".
For the test case, "[tag[Examples]]", the filter produces 7 matching tiddlers. However, only 3 of these tiddlers have a specified type of "text/vnd.tiddlywiki". The rest have no specified type (i.e., the type field is blank).
Thus, the filter "[tag[Examples]get[type]]" results in 3 copies of "text/vnd.tiddlywiki"... and then adding "-[[text/vnd.tiddlywiki]]" to the filter removes 1 of them, leaving 2 remaining.
Even though this is unlike the behavior of other filters, it IS working as documented.
-e