fuzzydb is a fuzzy matching database engine capable of providing human-like search results that make life much easier for users of websites searching for things like cars, houses, people and jobs.
19
stars
5
forks
source link
Support single @Id field which may be any unique sortable value (e.g. ObjectId) #93
Currently our AbstractMappingFuzzyRepository implementation expects @Id to be a String representation of the internal fuzzydb Ref.
Ref should only be used if explicitly specified, and the preferred external support should be @Id based on UUID or BSON ObjectId (which is more compact).
The mapping layer should be refactored to allow any @Id field to be used, to create an index on that field (using DataOperations.ensureIndex() ), and for findOne() to look up from that index to get the internal reference for the object with which to then do update, delete operations.
Currently our AbstractMappingFuzzyRepository implementation expects @Id to be a String representation of the internal fuzzydb Ref.
Ref should only be used if explicitly specified, and the preferred external support should be @Id based on UUID or BSON ObjectId (which is more compact).
The mapping layer should be refactored to allow any @Id field to be used, to create an index on that field (using DataOperations.ensureIndex() ), and for findOne() to look up from that index to get the internal reference for the object with which to then do update, delete operations.