Class FullTextMatch
java.lang.Object
com.aquima.interactions.matching.impl.functions.MatchFunction
com.aquima.interactions.matching.impl.functions.fulltext.FullTextMatch
- All Implemented Interfaces:
IMatchFunction
Copyright: Copyright (c) 2002
Company: Everest b.v.
- Since:
- 6.2
- Author:
- O. Kerpershoek
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondemandValueFor
(IValue attrValue) This method is invoked to convert a value object to a matchable demand value.protected Dictionary
protected int
protected int
DataType[]
This method returns an array of data types that are supported by this match function.int
match
(IMatchValue vraagObj, IMatchValue aanbodObj) This method should compare the demand value against the supply value and determine the match score.void
This method is invoked by the casebase after all the cases have been initialized.supplyValueFor
(IValue attrValue) This method is invoked to convert a value object to a matchable supply value.Methods inherited from class com.aquima.interactions.matching.impl.functions.MatchFunction
getMatchType, getName, match, onStartup
-
Constructor Details
-
FullTextMatch
-
-
Method Details
-
getSupportedTypes
Description copied from interface:IMatchFunction
This method returns an array of data types that are supported by this match function.- Returns:
- an array of data types that are supported by this match function.
-
onLoadComplete
public void onLoadComplete()Description copied from interface:IMatchFunction
This method is invoked by the casebase after all the cases have been initialized. The onLoadComplete method may be used to optimize or adjust weight values based on the distribution of the case values.- Specified by:
onLoadComplete
in interfaceIMatchFunction
- Overrides:
onLoadComplete
in classMatchFunction
-
getDictionary
-
supplyValueFor
Description copied from interface:IMatchFunction
This method is invoked to convert a value object to a matchable supply value.- Parameters:
attrValue
- The value object that should be converted.- Returns:
- The supply value for the object value.
-
demandValueFor
Description copied from interface:IMatchFunction
This method is invoked to convert a value object to a matchable demand value.- Parameters:
attrValue
- The value object that should be converted.- Returns:
- The demand value for the object value.
-
getDocumentFrequency
-
getDocumentCount
protected int getDocumentCount() -
match
Description copied from interface:IMatchFunction
This method should compare the demand value against the supply value and determine the match score.- Parameters:
vraagObj
- The value that is demanded.aanbodObj
- The value that is supplied.- Returns:
- The match score for the supply and demand combination.
-