Skip to main content

Interface: FacetedSearchResponse

Defined in: web/lib/hooks/use-faceted-search.ts:32

Faceted search response with dynamic facets.

Properties​

cursor?​

optional cursor: string

Defined in: web/lib/hooks/use-faceted-search.ts:85


facets​

facets: FacetDefinition[]

Defined in: web/lib/hooks/use-faceted-search.ts:84


hasMore​

hasMore: boolean

Defined in: web/lib/hooks/use-faceted-search.ts:86


hits​

hits: object[]

Defined in: web/lib/hooks/use-faceted-search.ts:33

abstract​

abstract: object[]

authors​

authors: object[]

cid​

cid: string

createdAt​

createdAt: string

fields?​

optional fields: object[]

highlights?​

optional highlights: Record<string, string[]>

indexedAt​

indexedAt: string

keywords?​

optional keywords: string[]

license​

license: string

paperDid?​

optional paperDid: string

score?​

optional score: number

source​

source: object

source.blobUrl?​

optional blobUrl: string

source.lastVerifiedAt?​

optional lastVerifiedAt: string

source.pdsEndpoint​

pdsEndpoint: string

source.recordUrl​

recordUrl: string

source.stale​

stale: boolean

submittedBy​

submittedBy: string

title​

title: string

uri​

uri: string


impressionId?​

optional impressionId: string

Defined in: web/lib/hooks/use-faceted-search.ts:88


total​

total: number

Defined in: web/lib/hooks/use-faceted-search.ts:87