SearchRepository.enrichWithSpeakerAndSubject is a no-op — speaker/subject names never joined onto search results #134
Labels
No labels
blocked:children
blocked:needs-decision
blocked:needs-human
blocked:verify-failed
bug
deferred
enhancement
feature-request
in-progress
needs-decompose
needs-triage
quickfix
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/transcriber#134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
SearchRepository.enrichWithSpeakerAndSubject()(app/src/main/java/com/voicetranscriber/data/repository/SearchRepository.kt) exists as a public method but returns the input unchanged:What works
SemanticSearchResultdata model exists with segment, relevanceScore, speakerName, subjectName fieldsspeakerRepository.getAllSpeakersList()andsubjectRepository.getAllSubjectsList()are available with working dataLLMRerankerworksWhat is missing
enrichWithSpeakerAndSubjectnever looks up speaker names or subject names from the repositoriesSemanticSearchResultobjects returned by search have null/empty speakerName and subjectName even when the underlying segments have speakerId/subjectId setImpact
Search results in the UI don't show speaker names or subject labels alongside transcript segments, making it harder to identify who said what in search results. The data is available in the database - the join just needs to be wired up.
Acceptance
SemanticSearchResult, look up the speaker name viaspeakerRepository.getSpeakerById(segment.speakerId)and subject name viasubjectRepository.getSubjectById(segment.subjectId)speakerNameandsubjectNameon the result