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:74


facets

facets: FacetDefinition[]

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


hasMore

hasMore: boolean

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


hits

hits: object[]

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

abstract

abstract: string

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:77


total

total: number

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