Edit online

The WebHelp Search feature is enhanced with a rating mechanism that computes scores for every page that matches the search criteria. HTML tag elements are assigned a scoring value and these values are evaluated for the search results. The WebHelp directory includes a properties file that defines the scoring values for tag elements and this file can be edited to customize the values according to your needs.

To edit the scoring values of HTML tag element for enhancing WebHelp search results, follow these steps:

  1. Edit the scoring properties file for DocBook WebHelp systems ([DocBook XSL directory]\com.oxygenxml.webhelp.classic\indexer\scoring.properties). The properties file includes instructions and examples to help you with your customization.
    The values that can be edited in the scoring.properties file:
    h1 = 10
    h2 = 9
    h3 = 8
    h4 = 7
    h5 = 6
    h6 = 5
    b = 5
    strong = 5
    em = 3
    meta_keywords = 20
    meta_indexterms = 20
    meta_description = 25
  2. Save your changes to the file.
  3. Re-run your WebHelp transformation.