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 ...
Having difficulties overriding the enum template and handlers
Modify the Mobile App Menu
How can the server identify the connecting device?
General Direction for creating a custom Plugin
include script file in footer while module installation