MATCH_SCORE
Use the MATCH_SCORE operator in a statement to return scores produced by a MATCHES query.
The MATCH_SCORE operator also supports database links. You can identify a remote table or materialized view by appending @dblink to the end of its name. The dblink must be a complete or partial name for a database link to the database containing the remote table or materialized view. (Querying of remote views is not supported.)
When the SVM_CLASSIFIER classifier type is used, this operator returns a score in the range 0 to 100. Use the matching score to apply a category-specific threshold to a particular category.
If the SVM_CLASSIFIER classifier is not used, then this operator returns either 100 (the document matches the criteria) or 0 (the document does not match).
Syntax
MATCH_SCORE(label NUMBER)
label
Specifies a number to identify the score produced by the query. Use this number to identify the MATCHES clause that returns this score.
Example
To get the matching score, use:
select cat_id, match_score(1) from training_result where matches(profile,
text,1)>0;
Related Topics
“MATCHES”