-
Notifications
You must be signed in to change notification settings - Fork 35
Searchconfiguration
When opening the application, one can utilize the search configuration via the url. When appending &search=: to the url, when the application is initialized, it will start a search query. It uses the search configuration with id through which it tries to find . The id can be found in the viewer-admin -> Layoutmanager -> configuration of the Search component. There, below "Gebruik alleen via url", the Id is visible. It is not adjustable, but you can use it for referencing the correct . All searchEntries can be used via the url.
Example: http://klantx.b3p.nl/viewer/app/Businessareas/v1?search=search2:123456
When using the pdok search engine, there are a couple of possibilities to configure:
In the configuration, add a filter with the municipality name: For example, to only search through the municipality of Vlaardingen, the optional filter must be: "AND Vlaardingen".
There are a couple of types available:
- adres
- postcode
- woonplaats
- gemeente
- weg
when adding "and type:postcode" you limit the searchresult to only show postal codes.
These filters can be combined: "AND Vlaardingen AND type:postcode" creates a search configuration where there are only results from the municipality of Vlaardingen, and you can only search through the postal codes (it will show streets etc. though).
ToDo