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

Research better ways of not forgetting major sections to index #3287

Open
lbeaufort opened this issue Oct 21, 2019 · 0 comments
Open

Research better ways of not forgetting major sections to index #3287

lbeaufort opened this issue Oct 21, 2019 · 0 comments
Labels
Global Search Global Search

Comments

@lbeaufort
Copy link
Member

lbeaufort commented Oct 21, 2019

What we're after:
As a user, I want to be able to search relevant content within the sitewide search so that I can be confident I am getting as much relevant information as possible.

Below is the relevant code of what is currently crawled in the Wagtail CMS:

# These are the parent pages for which we want *all* descendants of, not just direct children
SEARCH_DESCENDANTS_OF = [
    '/home/legal-resources/',
    '/home/help-candidates-and-committees/',
    '/home/press/',
    '/home/introduction-campaign-finance/'
]

# These are the parent pages for which we want *only* direct children
SEARCH_CHILDREN_OF = [
    '/home/',
    '/home/about/',
    '/home/about/leadership-and-structure/'
]

For what is scraped on the Data section, see web_app_pages.json

For what is scraped in the transition pages, see transition_pages.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Global Search Global Search
Projects
Status: No status
Development

No branches or pull requests

2 participants