News & Updates
Training & Certification
to create and rate content, and to follow, bookmark, and share content with other members.
How to avoid a duplicate registers with Elasticsearch + Phonetic Analysis + Soundex
Question asked by
on Mar 20, 2015
on Mar 21, 2015 by Matt Marum
Show 0 Likes
I want to chek duplicates in the momento when I save a record, but the question is, Can We use a elasticsearch with a phonetic analysis plugin.?
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Mar 21, 2015 12:53 PM
Yes, this is possible though of course it requires you to implement this strategy yourself since Sugar 7's default dupe check is based solely on the Filter API.
Our duplicate check mechanism allows you to extend it with a new duplicate detection strategy (basically a new PHP class that implements our dupecheck interface). Check out DuplicateCheckStrategy.php and FilterDuplicateCheck.php (the default strategy used in Sugar 7).
Each module's dupecheck strategy is configured within their Vardefs.
With your new strategy, you could target your custom Elasticsearch implementation that includes your phonetic analysis plug-in, etc.
Hope that helps.
Show 0 Likes
Retrieving data ...
How to re-render a field from record view
Sugar Cloud Maintenance Scheduled for Saturday, March 23rd, 2019
Quoted Line Item Editable
Customer Journey Plug-in 4.5.2 is Here!
How to make a field editable in create view and non-editable in editview?