Page tree
Skip to end of metadata
Go to start of metadata

The field boost feature produces a score for a document for a Field Expression that produces a numeric value. 
Boolean expressions will map a false value to a score of 0.0 and a true value to a score of 1.0.

Field boosts are useful for incorporating aspects of a document into the relevancy computation. For instance, the Freshness field expression can be used to provide a boost based on a documents recency. Stored fields that contain static boosts, such as the linkfactor can be used to incorporate a score that is attached to a document during ingestion.


A field boost has the following parameters:

nameThe name of the feature, for referencing in relevancy models.
fieldThe Field Expression, specified using REST syntax.
    <f:relevancyFeatures name="default">
      <f:fieldBoost name="freshness" field="freshness(date, 0.085)"/>
      <f:fieldBoost name="linkfactor" field="linkfactor"/>
    <xsd:complexType name="fieldBoost">
      <xsd:attribute name="name" type="xsd:string" use="required" />
      <xsd:attribute name="field" type="xsd:string" use="required" />

    Creating A New Field Boost

    To create a new field boost, click the Add a Feature button () at the top of the Relevancy Features page.

    This opens the Create Relevancy Feature wizard with two cards: Define and Type-Specific Properties.

      On the Define page, specify a name for the feature and select "Field Boost Feature" for the Feature Type.

      On the Type-Specific Properties page, specify the properties for configuring the field boost and click Create Relevancy Feature when done.

      See Managing Relevancy Features for more documentation on managing and working with relevancy features.

      • No labels