Package com.documentum.fc.client.search
Interface IDfResultRaterFactory
public interface IDfResultRaterFactory
Creates ResultRater instances.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(IDfQueryDefinition queryDefinition) Creates an IDfResultRater instance.
-
Method Details
-
create
Creates an IDfResultRater instance. The implementing factory may throw aDfSearchException
if the query definition is not supported by the result rater, because the rater is unable to compute scores for results retrieved by the query definition.- Parameters:
queryDefinition
- The query definition that will be used by the IDfResultRater to compute the relevancy of results.- Returns:
- An IDfResultRater.
- Throws:
DfSearchException
- If the query definition is not applicable to the result rater (the rater cannot compute any score for the query definition).
-