Interface: ExternalSearchQuery
Defined in: src/types/interfaces/plugin.interface.ts:1273
Search query parameters for external preprint sources.
Remarks
Used by SearchablePlugin implementations to query external APIs on demand. Supports author name, title, DOI, and source-specific IDs.
Distinct from SearchQuery in search.interface.ts which is for internal Elasticsearch queries.
Since
0.1.0
Properties
author?
readonlyoptionalauthor:string
Defined in: src/types/interfaces/plugin.interface.ts:1281
Author name to search for.
Remarks
Matches against author names in the external source. The matching algorithm is source-specific.
categories?
readonlyoptionalcategories: readonlystring[]
Defined in: src/types/interfaces/plugin.interface.ts:1310
Filter by categories/subjects (source-specific).
doi?
readonlyoptionaldoi:string
Defined in: src/types/interfaces/plugin.interface.ts:1291
DOI to search for (exact match).
externalId?
readonlyoptionalexternalId:string
Defined in: src/types/interfaces/plugin.interface.ts:1298
Source-specific external ID (exact match).
Example
"2401.12345" for arXiv, "007123" for LingBuzz
limit?
readonlyoptionallimit:number
Defined in: src/types/interfaces/plugin.interface.ts:1305
Maximum number of results to return.
Default Value
10
title?
readonlyoptionaltitle:string
Defined in: src/types/interfaces/plugin.interface.ts:1286
Title or partial title to search for.