Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Searchconfiguration

Meine Toonen edited this page Jan 27, 2017 · 8 revisions

Searching via the url

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

PDOK Search engine

When using the pdok search engine, there are a couple of possibilities to configure:

Limit to a municipality

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".

Search postal codes

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).

Solr Configuration

ToDo

Clone this wiki locally