A design milestone for Documentor – defining one query language that serves both file search and automatic duplicate clean-up.
- Designed a single query language for the Documentor document-curation app that scopes searches by filename and folder path, reusing its existing boolean operators (and / or / not), quoted phrases, and wildcards.
- Extended the same language to drive automatic duplicate handling – an ordered, first-match-wins list of keep and drop rules that reads like a precedence list rather than nested conditions.
- Folded the existing shortest-filename heuristic into the new model as a composable tiebreaker, and added relative options such as keep-newest and keep-oldest.
- Built in a safety rule so an automatic de-duplication pass can never flag every copy in a set – at least one file is always retained.
