I have custom index file created and added index rule for text property. if my search key match in href tag value present under the text value the result not display. i have tried to add href index rule also with value href.. But same issue matching result not display.
my search key value:national
my sample text value:
<p><a id="back-to-forms-link" style="display: none;" href="/content/national.html" target="_self">Back to forms</a></p>
</ul>
</ul>
</p>
my index rule:
<text
jcr:primaryType="nt:unstructured"
name="text"
nodeScopeIndex="{Boolean}true"
propertyIndex="{Boolean}true"
type="String"
useInSpellcheck="{Boolean}true"
useInSuggest="{Boolean}false"/>
<href
jcr:primaryType="nt:unstructured"
name="href"
nodeScopeIndex="{Boolean}true"
propertyIndex="{Boolean}true"
type="String"
useInSpellcheck="{Boolean}true"
useInSuggest="{Boolean}false"/>