772eda381913cc74f9d6f861c4236b95bb75ed9f |
|
15-Jul-2015 |
Zheng Fu <zhengfu@google.com> |
Performance turning for aggregator 1. Move identification matching to secondary 2. In the first stage, do secondary matching only if there is no structured name 3. Aggregate all the raw contacts without structured name if they have matching secondary data 4. Remove approximate name matching in aggregator. (This will not impact the name variant, such as John and Johathan matching) Bug:22200630 Bug:21931859 Change-Id: I295e283dbe1929e20b80272027df226c01bc2f74
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/RawContactMatcher.java
|
891e5b4c377258ff7d7259f2bab6cd6bff202aee |
|
15-May-2015 |
Zheng Fu <zhengfu@google.com> |
Fix bugs in aggregator2. 0. Add unit test for aggregator2. 1. Only aggregate raw contacts in the default directory 2. Remove aggregation exception matches from the aggregation suggestion list 3. Fix the sqls to clear primary settings when merging 4. Make the scoring system consistent with current aggregator. 5. Don't aggregate raw contacts without name to any other raw contacts even when data matching exist. Bug: 19908937 Change-Id: Ie580def5ee9e3a291cd5bf112ccb29627f9b67cc
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/RawContactMatcher.java
|
aa18c233fdec3359c5231d4a5f61188446bf5d6f |
|
16-Apr-2015 |
Zheng Fu <zhengfu@google.com> |
use new setting flag to switch between current and new aggregator. In order for the switch, add AbstractContactAggregator for ContactAggregator and ContactAggregator2. Bug:20055573 Change-Id: I6f27d4df8017938b226f5c6371b15ba41fd18acd
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/RawContactMatcher.java
|
d6c0a1330d3e51706d70351a34631f1f4e8fb02f |
|
26-Mar-2015 |
Zheng Fu <zhengfu@google.com> |
New contact aggregator (part 1) Summary of the changes are: 1. In RawContactMatcher, add rawContactId and accountId to MatchScore inner class, so that match score is on raw contacts level instead] of accumulate to contact level 2. Add a wrapper RawContactMatchingCandidates to MatchScore to facilitate the aggregation. 3. In ContactAggregator2, add findRawContactMatchingCandidates() method to find the set of matching raw contacts for a given raw_contact_id. This method will use the logic of updateMatchScoresForSuggestionsBasedOnDataMatches() so that it will give a set of raw contacts candidate with matching score above threshold. 4. The second stage "Pair-wise comparison and find the connected component of all the raw contacts in RawContactMatchingCandidates" is done in new method reAggregateRawContacts(); 5. Some new methods still throw unSupportedOperationExceptions, and they will be implemented in part2. 6. Tests will be implemented in follow-up cls. Bug:19908937 Change-Id: I53483a29c24401e2f38a727168e7431cef86370a
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/RawContactMatcher.java
|
1340c2f51a81789032e55a7805c1916dcd7f2277 |
|
18-Mar-2015 |
Zheng Fu <zhengfu@google.com> |
Fork ContactMatcher.java to RawContactMatcher.java This is to copy the file history for new raw contact matcher. Change-Id: I28f9e36d743268e2c17970175c09ba4d9aed86cd
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/RawContactMatcher.java
|