Skip to content

Commit 48c54b8

Browse files
committed
Update fulltext search documentation
1 parent 4ff37cd commit 48c54b8

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

src/topics/Search.md

+7-11
Original file line numberDiff line numberDiff line change
@@ -381,31 +381,27 @@ curl 'http://localhost:8983/solr/gdi/FACET_NAME?command=full-import'
381381

382382
### Configuring the search for a theme
383383

384-
Finally, configure the search facets for the desired themes and give the users the necessary rights in the Admin GUI.
385-
386-
1. Add the following to a theme item in `themesConfig.json`:
384+
To use a fulltext search in a theme, configure a `fulltext` search provider in `themesConfig.json` as follows:
387385

388386
```json
389387
"searchProviders": [
390388
{
391-
"provider": "solr",
389+
"provider": "fulltext",
392390
"default": [<FACET_NAME>],
393391
"layers": {
394392
"<layer_name>": "<FACET_NAME>"
395393
}
396394
}
397395
]
398396
```
397+
Where:
399398

400-
When activating a search to a theme, you can either:
401-
402-
* Add the search name to the `default` list, resulting in the search always being active.
403-
* Add the search name to the `layers` object, resulting in the search being active only if the theme layer `<layer_name>` is present in the theme.
399+
* `default` lists the search facets enabled by default.
400+
* `layers` providides a mapping of facets which are enabled whenever the theme layer `<layer_name>` is visible on the map.
404401

405-
2. Create `Search facet` resources in the Admin GUI for the desired facet names.
402+
Next, create `Search facet` resources in the Admin GUI for the desired facet names.
406403

407404
* To manage layer search permissions, you can create a `Search facet` with name `dataproduct`.
408405
* You can create a wildcard `Search facet` resource by setting the name to `*`. This is useful to assign permissions for all available facets with one single resource.
409406

410-
3. Add permissions on the newly created resource
411-
4. Re-generate the services configurations with the `Generate service configuration` button
407+
Finally, create permissions for the newly created resources and regenerate the service configuration.

0 commit comments

Comments
 (0)