Operator Type:
Operator Scope of Action:
Operator Purpose:
Data Type Returned:
Operator First Added:
Operator in Current Baseline:
Operator Last Altered:
Operator Has Optional Arguments:
Function [other Function type actions]
Item [operators of similar scope]
Query Boolean [other Query Boolean operators]
boolean test
v4.6.0
Baseline
As at baseline
similarTo(item,notesNum)
Returns Boolean true
if item is amongst the (optionally notesNum notes) most similar to the current note.
The item argument must be quoted unless an attribute reference. Ways to define item.
Similarity is based on several factors, including:
- the text of the note
- the note title
- any text contained in user attributes
In addition, weighting is applied for:
- notes having the same prototype
- notes having roughly similar amounts of text
This data replicates that seen in the similar tab of Get Info and in the export code ^similarTo()^.
Legacy issues
This operator replaces the legacy #similarTo query operator and what in old version's agent query creation pop-ups and Find dialogs was listed as "is similar to".
See also—notes linking to here: