Repository navigation
Conversation
Volpiano search queries chant records imported from Cantus Database, so it returns nothing for a manuscript that only has MEI (e.g. Liber Usualis). For those manuscripts, offer Volpiano under notation search instead: the query is converted to pitch names and matched against the existing OMR n-gram index. Octave, accidentals, clefs and barlines are ignored, since the index does not record them. The fallback applies only when a manuscript has no chant records and has pitch search enabled; other manuscripts keep the chant-based search. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
etosphere
left a comment
There was a problem hiding this comment.
Thanks! The converter is clean and well-tested, and excludedFields is a nice, small way to change what a manuscript offers. However, I have a question for this approach:
If I understand it correctly, your Volpiano search here becomes a Pitch search with a different input format and work differently compared with on other manuscripts. If no one ask for searching the MEI by using Volpiano, I'd suggest simply grey out the search fields that are not functioning well for a given manuscript (which can be achieved using your excludedFields in this PR).
Volpiano search queries chant records imported from Cantus Database, so it returns nothing for a manuscript that only has MEI (e.g. Liber Usualis). For those manuscripts, offer Volpiano under notation search instead: the query is converted to pitch names and matched against the existing OMR n-gram index. Octave, accidentals, clefs and barlines are ignored, since the index does not record them.
The fallback applies only when a manuscript has no chant records and has pitch search enabled; other manuscripts keep the chant-based search.
Resolves Issue #1018
Summary by CodeRabbit