Repository navigation
Search PubMed under a topic - #150
Merged
Merged
Conversation
GET /topic/{topicId}/hit?term= (PublicationRoutes.ListHits) searches the
provider and answers up to 100 typed hits, each the stored Publication when
one holds the work (DOI, then PMID) and the topic's paper id when it includes
it. Nothing is recorded; the abstract rides on the hit's Publication.
- service.Searcher, Config.Searcher; pubmed.Client implements it.
- The TypeScript client sends query fields, the first route to have one.
- AGENTS.md: the request-standard row for a provider search.
Closes #136
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #136.
GET /topic/{topicId}/hit?term=→HitList(ListHits, inPublicationRoutes): up to 100 typed PubMed hits, best match first, no paging, nothing recorded.Hitis the storedPublicationif one holds the work (DOI, then PMID; Add a paper to a topic from a DOI or PMID (C12) #133's rule), else the provider's record (noid), plus the topic'spaperIdif already included. Abstract rides on the publication, so B2's route goes.service.Searcher+Config.Searcher(503 without one);pubmed.Clientimplements it and caches hits for the following add. Nostore.Storechange./topic/{topicId}/searchresource, additive.Services must set
Config.Searcherat their bump to serve it.🤖 Generated with Claude Code