intuit / fuzzy-matcher

A Java library to determine probability of objects being similar.
Apache License 2.0
228 stars 69 forks source link

Need a mechanism to match elements by a matching key rather than by element type #1

Closed abhinav-k closed 5 years ago

abhinav-k commented 5 years ago

Let us suppose we have documents with same elementTypes as follows

{
   name: NameElementType,
   spouseName: NameElementType
}

Need a mechanism to match these elements independently based on their key rather than element type. In the above example, we want to match all documents based on name and spouseName independently.

manishobhatia commented 5 years ago

Added pull to resolve this issue https://github.com/intuit/fuzzy-matcher/pull/7

Will be available in the next build

manishobhatia commented 5 years ago

fixed with 0.4.0 release Element now has a "variance" that can be set to allow multiple ElementType's in a Document