In next configuration, we will set boost values for nt:ustructured nodes 'text' property.
indexing-config.xml:
<!--
This rule actualy do nothing. 'text' property has default boost value.
-->
<index-rule nodeType="nt:unstructured" condition="@rule='boost1'">
<!-- default boost: 1.0 -->
<property>text</property>
</index-rule>
<!--
Set boost value as 2.0 for 'text' property in nt:unstructured nodes where property 'rule' equal to 'boost2'
-->
<index-rule nodeType="nt:unstructured" condition="@rule='boost2'">
<!-- boost: 2.0 -->
<property boost="2.0">text</property>
</index-rule>
<!--
Set boost value as 3.0 for 'text' property in nt:unstructured nodes where property 'rule' equal to 'boost3'
-->
<index-rule nodeType="nt:unstructured" condition="@rule='boost3'">
<!-- boost: 3.0 -->
<property boost="3.0">text</property>
</index-rule>