Skip to content

#1 Search

Niels requested to merge feature/1-search into master

Notes

The indexes are created as part of initializing the routes (= on application startup). This is fine with our current set of data (two files), but might need to move to it's own application when the dataset grows larger.

To-do

  • add search box to UI
  • make requests to /search endpoint

Example

For POST /apis/search endpoint:

{
  "query": {"match": "gemeente"},
  "fields": ["service_name", "organization_name"],
  "highlight": {}
}
Edited by Niels

Merge request reports