Skip to content

Commit 8554189

Browse files
committed
Document db_url at facet level
1 parent e2b5102 commit 8554189

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/topics/Search.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ A facet references a searchable dataset. The configuration of the fulltext searc
293293
{
294294
"name": "<facet name>",
295295
"filter_word": "<filter word>",
296+
"db_url": "<db_url>",
296297
"table_name": "<schema.tablename>",
297298
"geometry_column": "<geometry column name>",
298299
"search_id_col": "<id column name>"
@@ -312,6 +313,7 @@ The facets describe a searchable dataset and are referenced by the search index:
312313

313314
- `name` specifies the facet identifier.
314315
- `filter_word` is a short (human readable) name which appears as result category in the search results (i.e. `Address`).
316+
- `db_url` is optional and specified the DB which contains the table name specified by `table_name`. If not specified, the `db_url` of the search config is used.
315317
- `table_name` specifies the table containing the features referenced by the search index (in the format `schema.table_name`).
316318
- `geometry_column` specifies the name of the geometry column in this table.
317319
- `search_id_col` specifies the name of the id column in this table. If unset, field from search filter expression is used.

0 commit comments

Comments
 (0)