二次检索

This commit is contained in:
2026-11-04 15:45:19 +08:00
parent 3d2a3e7766
commit 7794716861
5 changed files with 241 additions and 64 deletions
+7
View File
@@ -26,6 +26,12 @@ export interface SearchQuery extends ResourceQuery {
sourceLibraries?: string[]
/** 来源馆(单选,左侧「来源院校」分面点选用) */
sourceLibrary?: string
/** 来源资源库名(多选,in) */
sourceRepos?: string[]
/** 媒体类型(多选,in):纸质/电子 */
mediaTypes?: string[]
/** 在结果中搜索:附加关键词必须同时命中(AND 收窄) */
withinKeyword?: string
publishYearStart?: string
publishYearEnd?: string
matchType?: 'EQ' | 'LEFT' | 'RIGHT' | 'LIKE'
@@ -50,6 +56,7 @@ export interface SearchResultVO {
page: PageResult<VersionResource>
mediaTypeFacets: FacetItem[]
sourceLibraryFacets: FacetItem[]
sourceRepoFacets?: FacetItem[]
clcFacets: FacetItem[]
yearStats: YearStat[]
costMs: number