Powered by Zoomin Software. For more details please contactZoomin

Semaphore Publisher Template Reference

document-start

  • Last Updated: May 29, 2026
  • 1 minute read
    • Semaphore
    • Documentation

The document-start attribute creates additional rules that decreases the weighting based on the distance the match appears from the start of the document.

<with>
   ..
   <text data="{document_start}"/> 
</with>

The detail behind how the with rule is used to alter the score can be found here.

Applies to

Values

Values Description
0 Do not generate with rules
1 Generate the WITH rules

Example

As an example, for the label “Information architecture” the template fragment

<phraselist field="body" document-start="1" />

generates the output:

<with weight="100">
        <text data="{document_start}" field="body"/>
        <phrase case="0" data="Information architecture" field="body" stem="1"/>
</with>
TitleResults for “How to create a CRG?”Also Available inAlert