md-systems / crm_core

Drupal 8 port of the CRM Core module
https://www.drupal.org/project/crm_core
11 stars 10 forks source link

Return match quality result from match() #13

Open mirodietiker opened 9 years ago

mirodietiker commented 9 years ago

The match() method just returns matches above the threshold.

Sometimes the thresholds are not that hard. There might be a safe threshold to run something with strict assignment and some lower threshold where matches are not considered to be sharp and possibly need review. Still, we want to continue process.

To allow this kind of stuff, the match should return some result with data about match quality, in addition to the contacts.

edurenye commented 8 years ago

I created the pull request for it #30