Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support external_content #540

Open
nacnudus opened this issue Oct 13, 2023 · 1 comment
Open

Support external_content #540

nacnudus opened this issue Oct 13, 2023 · 1 comment

Comments

@nacnudus
Copy link
Contributor

nacnudus commented Oct 13, 2023

Trello

The search API includes links to external sites, such as police.gov.uk. These are created as documents in the Publishing API database, with schema_name and document_type both "external_content". They only have a title, a description, a URL to link to, and hidden search terms.

What would the GovSearch result link to? Perhaps to the Search API, filtering by link, which would have to be URL-encoded. Filtering by title doesn't work. There isn't a way to guarantee a single, exact match.

@nacnudus
Copy link
Contributor Author

Check that this will still be relevant in https://github.com/alphagov/search-api-v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant