LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
Introduce a batch script and Elasticsearch index to pre-aggregate institution patents via assignee and inventor name matching, expose them through a new API endpoint, and update the institution patents page with match-type filtering.
12 lines
350 B
TypeScript
12 lines
350 B
TypeScript
import { PatentEntry } from './patentEntry';
|
|
import { MatchedAuthor } from './matchedAuthor';
|
|
|
|
export type OrgPatentMatchType = 'institution' | 'name' | 'both';
|
|
|
|
export interface OrgPatentEntry extends PatentEntry {
|
|
institution_id: string;
|
|
institution_name?: string | null;
|
|
match_type: OrgPatentMatchType;
|
|
matched_authors: MatchedAuthor[];
|
|
}
|