Skip to content

Commit

Permalink
Update documentation for finders
Browse files Browse the repository at this point in the history
The non-English finders have been removed from Whitehall, so we can
update the documentation to reflect this.
  • Loading branch information
brucebolt committed Nov 28, 2022
1 parent 177e289 commit ec55334
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docs/finders.md
Expand Up @@ -9,16 +9,9 @@ finder-frontend and published from [search-api](https://github.com/alphagov/sear
We redirect searches from the old finders to the new in order to maintain a
reasonable experience for users. Because we need to translate some of the
query parameters, we do it in the controllers:
- [announcements](https://github.com/alphagov/whitehall/blob/master/app/controllers/announcements_controller.rb)
- [publications](https://github.com/alphagov/whitehall/blob/master/app/controllers/publications_controller.rb)
- [statistics](https://github.com/alphagov/whitehall/blob/master/app/controllers/statistics_controller.rb)
- [statistics announcements](https://github.com/alphagov/whitehall/blob/master/app/controllers/statistics_announcements_controller.rb)

There are still some remaining finder-like-things for translated content
([example of statistics in Welsh](https://www.gov.uk/government/statistics.cy)).
These use the Whitehall database and not Elasticsearch so they're different from
the things that we've retired.

## How to publish a finder in whitehall

**Please consider publishing new finders from [search-api](https://github.com/alphagov/search-api/tree/master/config/finders). There are [schema tests for both finders and email signup pages](https://github.com/alphagov/search-api/tree/630a6947395d11267be3cc056c7370c65bb5723e/spec/unit/content_item_publisher) there.**
Expand Down

0 comments on commit ec55334

Please sign in to comment.