Merge pull request #28224 from AmbrishRamachandiran/docs-feature-search

Updated docs of search
This commit is contained in:
Fredrik Adelöw
2024-12-19 09:18:41 +01:00
committed by GitHub
+5 -1
View File
@@ -301,12 +301,16 @@ indexBuilder.addCollator({
});
```
Note: if you are using the in-memory Lunr search engine, you probably want to
:::note Note
if you are using the in-memory Lunr search engine, you probably want to
implement a non-distributed `SchedulerServiceTaskRunner` like the following to ensure consistency
if you're running multiple search backend nodes (alternatively, you can configure
the search plugin to use a non-distributed database such as
[SQLite](../../tutorials/configuring-plugin-databases.md#postgresql-and-sqlite-3)):
:::
```typescript
import {
SchedulerServiceTaskRunner,