^similarTo( item, count[, start, list-item-prefix, list-item-suffix, end] )^

Tinderbox Icon


Code Type:   Link Creation
Code Scope of Action:   item

^similarTo( item, count[, start, list-item-prefix, list-item-suffix, end] )^

The HTML Export element ^similarTo^ locates notes that appear similar to a given note.

The query will find up to count notes, but may find fewer, and exports a list of notes it finds.

Basic form, returning links to the 10 most similar notes:

^similarTo("this",10)^ 

The longer form is only needed if it is desired to use non-default list HTML mark-up or include extra per-item captioning. If one of the option input is specified, all the other must be also - even if only as the default.

Similarity is based on several factors, including:

In addition, weighting is applied for:

The results are based on the Similar Notes view. The same matching is also available as an action similarTo().

New item objects source and destination may be used with list/item inputs to indicate from where data used within such inputs are drawn.


Possible relevant notes (via "Similar Notes" feature):

Up: Creation of Links

A Tinderbox Reference File : Export Codes : Export Code Types : Creation of Links : ^similarTo( item, count[, start, list-item-prefix, list-item-suffix, end] )^

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox