Configure a Rule to Apply to a Term
About
Documents are only added after the first crawl or after some Rules Engine Testing is performed.
Both of the following components must be correctly configured before the "Test rule" button appears:
- Lucene Index: Configured here
- Term Scoring Rules, described below
Manage Taxonomies: Configure Term Scoring Rule
- First, ensure you Define your scoring rules.
- In the AutoClassifier administration portal, click Manage Taxonomies
- On the Managed taxonomies page, Click a taxonomy such as GeneralBusiness from the left panel.
- Click a taxonomy node such as "Accounting" and "Finance."
- Click the TERM SCORING RULE tab.
- Select Use scoring rule defined higher in the term hierarchy. If a scoring rule is defined higher up in the taxonomy, this text box is automatically filled in with the inherited rule (the closest rule that is defined in the parent hierarchy).
- Click Specify scoring rule to use and select a scoring rule that you defined in your scoring rules such as
Rule 1
. - Click Save changes.
- Original Score: This score is returned by Lucene.
- Final Score: This score is calculated by the scoring rule.
- Click Script Trace to see that your script executed, rule matches, hit counts, and so on. (All
WriteTrace
method calls from your scoring rule script.)