SearchConfig
Interface
Configuration for client-side direct search.
Returned by lynkow.search.getConfig(). Use these values to initialize
a search client in the browser for instant autocomplete without
round-tripping through your server.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Short-lived tenant token (JWT, 1-hour expiry) scoped to your site's index |
|
| No | Public search host URL (e.g. |
|
| No | Your site's search index name |
SearchHit
Interface
A single search result (hit) returned by Lynkow Instant Search.
Contains article metadata, URL path, and optional highlighted matches. Only published content appears in search results.
Property | Type | Optional | Description |
|---|---|---|---|
|
| Yes | Highlighted matches with |
|
| No | Full name of the content author |
|
| No | Categories assigned to this content |
|
| No | Short summary / excerpt |
|
| No | Featured image URL, or |
|
| No | Content UUID |
|
| No | Content locale code (e.g. |
|
| No | SEO meta description |
|
| No | SEO meta title |
|
| No | Full URL path including locale and category prefix (e.g. |
|
| No | Publication date as Unix timestamp (seconds) |
|
| No | URL slug |
|
| No | Tags assigned to this content |
|
| No | Article title |
|
| No | Content type (e.g. |
|
| No | Last update date as Unix timestamp (seconds) |
SearchOptions
Interface
Options for lynkow.search.search().
All filters are optional. When omitted, searches across all published content in all locales.
Extends: BaseRequestOptions
Property | Type | Optional | Description |
|---|---|---|---|
|
| Yes | Filter by category slug (e.g. |
|
| Yes | Raw |
|
| Yes | Results per page (1--100). Defaults to |
|
| Yes | Filter by locale code (e.g. |
|
| Yes | Page number (1-based). Defaults to |
|
| Yes | Filter by tag slug (e.g. |
SearchResponse
Interface
Response from lynkow.search.search().
Contains an array of matching articles and pagination metadata.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Array of matching articles, ordered by relevance |
|
| No | Pagination and query metadata |