You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`DB_PASSWORD`| Password for the specified database user |`qwc_service`|
350
+
|`FACET_NAME`| Name of the search facet |`fluesse_search`|
351
+
|`PRIMARY_KEY`| Primary key name of the table that is used in the search query |`ogc_fid`|
352
+
|`SEARCH_FIELD_IS_STRING`| Definition, if search field is string (`y`) or not (`n`). If not, it's interpreted as integer. |`n`|
353
+
|`DISPLAYTEXT`| Displaytext that will be shown by the QWC2 when a match was found |`name_long`|
354
+
|`SEARCH_FIELD_1`| Table field that will be used by the search |`name_long`|
355
+
|`GEOMETRY_FIELD`| Name of the geometry column of the search table |`wkb_geometry`|
356
+
|`SCHEMA`| Search table schema |`qwc_geodb`|
357
+
|`SEARCH_TABLE_NAME`| Search table name |`fluesse`|
358
+
359
+
**Hint**: For a less complex configuration file, of course it is also possible to define the query within a `VIEW` definition within the database. In this case just provide the query within the facet configuration like:
360
+
```xml
361
+
<entityname="{FACET_NAME}"query="
362
+
SELECT id,
363
+
display,
364
+
search_1_stem,
365
+
sort,
366
+
facet,
367
+
tenant,
368
+
idfield_meta,
369
+
bbox
370
+
id_name,
371
+
geom
372
+
FROM index_base">
373
+
</entity>
374
+
```
355
375
356
376
*Note*:
357
377
In the case of several searches sharing the same database connection,
0 commit comments