You can set the boost factor for every product in your data feed directly. In this article we are going to explain how to do this.

NOTICE: Boost factor must be always higher than 0. Otherwise, the feed will deliver an error.

Note that if you manually modify the boost factor in the doofinder admin, it will be overwritten by the values you set in the data feed, so you have to choose between setting them manually or setting them through the data feed.

Important: The boost field holds floating point values. Use always the dot (.) to separate the decimal part in the field.

Ok, let’s see how to do it for every kind of feed format:

Text Format

All you have to do is just add a new key named boost adding the values for each row in the file. The values for the boost field must be decimal numbers like 1.2 or 3.73.

XML Format

First, you have to first add the doofinder namespace to the XML file.

So the RSS format first lines will be like this:

<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0' xmlns:g='' xmlns:d=''>

And the Atom format will start like this:

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="" xmlns:g="" xmlns:d=''>

After that, you can add now the corresponding tags for the boost value for every product, that will be something like this:


Below you can download some examples to see how it works.