Literal Search

Overview

Syntax Description

Literal search is case-insensitive and partial, meaning that search for ‘abc’ brings also XABCD.

Logical Operators:

<query> AND <query> (aliases: <space> and &)

description: selects the timeline only if both words are present in the timeline (in attributes or activity name or id – depends on flags) examples: “search1 AND search2”“search1 search2 AND (search3 & search4)” is same as “search1 AND search2 AND (search3 AND search4)”

<query> OR <query> (aliases: , and |)

description: selects the timeline only if at least one word is present in the timeline (in attributes or activity name or id – depends on flags) examples: “search1 OR search2”“search1, search2 OR (search3 | search4)” is same as “search1 OR search2 OR (search3 OR search4)”

NOT <query> (alias: )

description: selects the timeline only if the word is not present in the timeline (in attributes or activity name or id – depends on flags) examples: “NOT name”“-name”)

Strict Match Operator:

“<query>” (alias: ‘<query>’)

description: select the timeline if it has (depends on flags where) whole word (not the part) i.e. timeline has …test1 test2 test3… query(tes) → true; query(“tes”) → false; query(“test2”) → true;
examples: “test”“some” AND ‘query’ – selects timeline only if it has whole word “test” or it has 2 whole words (“some” and “query”)

Clarify Flags

<entry>:id (alias <entry>.id) – looking up in timeline’s ID
<entry>:activity (alias <entry>.activity) – looking up in timeline’s activity names
<entry>:attrs (alias <entry>.attrs) – looking up in timeline’s attributes
<entry>:1-N (aliases <entry>.1-N<entry>:attr1-N and <entry>.attr1-N) – looking up in timeline’s attributes (N – is an attribute number)
<entry>{id, activity, 1, 2, N} – looking up in timeline’s id and activity and attributes (1, 2, N)

Search Examples

test1 test2              : select timelines where test1 and test2 present in (in idactivityname or attributes)

test1, test2             : timlines where test1 or test2 present in (in idactivityname or attributes)

test1 -test2             : timelines where test1 is present (in idactivityname or attributes) but test2 is not (in idactivityname or attributes)

test:id -test:attrs     : timelines where test is present in id, but not present in attributes

* -test                     : all timelines without thouse in which test is present (in idactivityname or attributes)

(1 2 3):id                : timelines having 1 and 2 and 3 in id

(12, 14, 18):attr1    : timelines having 12 or 14 or 18 in attribute 1

“test”, “test1”          : timelines having exact word ‘test’ or ‘test1’ (in idactivityname or attributes)

test:activity             : timelines having test in activityname

q -(b, x, z)               : timelines with q, but without bx and z (in idactivityname or attributes)