inthefabric / Fabric

The collective mind awaits your input.
www.inthefabric.com
Other
5 stars 0 forks source link

Verify Class Uniqueness for AddClass Operation #21

Closed zachkinstner closed 11 years ago

zachkinstner commented 11 years ago

Use an ElasticSearch index query to check for Class Name/Disamb uniqueness. This will only be done for the single AddClass operation. It will be too expensive to perform for the batch operation.

Fabric will most likely make batch operations "internal", where we verify the contents before sending them to the database.

zachkinstner commented 11 years ago

Fabric creates an exact index with a lower-case Class.Name property. This provides an entry point into the graph, typically resulting in less than 5-10 matches. A filter step checks for a lower-case Class.Disamb property match among that small set of matching names.