mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-02 14:49:44 +08:00
feat(server): improve indexer perf (#15512)
#### PR Dependency Tree * **PR #15512** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Search now supports generation-based indexing with embedded and remote providers. * Added automatic search reconciliation and improved handling of document, workspace, and permission changes. * Added clearer search status errors for unavailable, syncing, unready, or failed indexes. * Added Manticore Search end-to-end support and provider-specific search behavior. * **Improvements** * Search and aggregate pagination now report returned results and continuation status more accurately. * Improved permission filtering to prevent inaccessible documents from appearing in results. * Admin provider selection now consistently enables indexing. * **Documentation** * Clarified search pagination, aggregation counts, provider configuration, and end-to-end setup. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -10502,6 +10502,24 @@ export function useAFFiNEI18N(): {
|
||||
["error.INVALID_APP_CONFIG_INPUT"](options: {
|
||||
readonly message: string;
|
||||
}): string;
|
||||
/**
|
||||
* `Search index for Space {{spaceId}} is not ready yet.`
|
||||
*/
|
||||
["error.SEARCH_INDEX_NOT_READY"](options: {
|
||||
readonly spaceId: string;
|
||||
}): string;
|
||||
/**
|
||||
* `Search permissions are still syncing. Please try again shortly.`
|
||||
*/
|
||||
["error.SEARCH_PERMISSION_SYNCING"](): string;
|
||||
/**
|
||||
* `Search provider is temporarily unavailable.`
|
||||
*/
|
||||
["error.SEARCH_PROVIDER_UNAVAILABLE"](): string;
|
||||
/**
|
||||
* `Search index is temporarily unavailable.`
|
||||
*/
|
||||
["error.SEARCH_INDEX_FAILED"](): string;
|
||||
/**
|
||||
* `Search provider not found.`
|
||||
*/
|
||||
|
||||
@@ -2584,6 +2584,10 @@
|
||||
"error.MENTION_USER_ONESELF_DENIED": "You can not mention yourself.",
|
||||
"error.INVALID_APP_CONFIG": "Invalid app config for module `{{module}}` with key `{{key}}`. {{hint}}.",
|
||||
"error.INVALID_APP_CONFIG_INPUT": "Invalid app config input: {{message}}",
|
||||
"error.SEARCH_INDEX_NOT_READY": "Search index for Space {{spaceId}} is not ready yet.",
|
||||
"error.SEARCH_PERMISSION_SYNCING": "Search permissions are still syncing. Please try again shortly.",
|
||||
"error.SEARCH_PROVIDER_UNAVAILABLE": "Search provider is temporarily unavailable.",
|
||||
"error.SEARCH_INDEX_FAILED": "Search index is temporarily unavailable.",
|
||||
"error.SEARCH_PROVIDER_NOT_FOUND": "Search provider not found.",
|
||||
"error.INVALID_SEARCH_PROVIDER_REQUEST": "Invalid request argument to search provider: {{reason}}",
|
||||
"error.INVALID_INDEXER_INPUT": "Invalid indexer input: {{reason}}",
|
||||
|
||||
Reference in New Issue
Block a user