Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Better search filtering #81

Closed
Closed

Description

@robdodson

@robdodson commented on Wed Dec 02 2020

Currently we bucket search results into separate groups, docs and blog, which we then render.

image

Algolia is pretty aggressive about finding matches so even if you type the exact title for a blog post, it'll still be below several docs which "roughly" match. In this case it's actually offscreen and you have to scroll to it.

image

My hacky short term solution is to put blog posts (if there are any) before docs. But I'd like to come up with a better system (maybe aggressively filtering out results that only partially match). Algolia does have a matchLevel: 'full|partial|none' property that it sends back on all results, but frequently it says matchLevel: 'all' even for stuff that doesn't seem to be a perfect match, so I may need to dig a bit more.

Activity

  1. added
    choreRoutine work to update or maintain the site.
    on Jan 21, 2021
  2. self-assigned this
    on Oct 28, 2021
  3. removed their assignment
    on Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    choreRoutine work to update or maintain the site.eng

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions