mirror of
https://github.com/fosrl/docs-v2.git
synced 2026-09-27 00:09:07 +02:00
11 lines
311 B
TypeScript
11 lines
311 B
TypeScript
import { createFromSource } from 'fumadocs-core/search/server';
|
|
import { source } from './source';
|
|
|
|
/**
|
|
* One full-text index (Orama) shared by the search dialog (`/api/search`) and the
|
|
* AI assistant's `search_docs` tool.
|
|
*/
|
|
export const searchServer = createFromSource(source, {
|
|
language: 'english',
|
|
});
|