Skip to content

Optimizing client-side search weighting #40

Description

@jasalt

Follow up on #34

Testing the search functionality typing search query "interop", the weighting might have some room for improvement, while there's no critical issue and the index seems quite complete.

in

Image

Observation: I click "Host Interop" expecting to navigate to the beginning of the page, but end up into sub-heading.

int

Image

Observation: Same, I click "Native Interop (FFI)" expecting to navigate to the beginning of the page, but end up into sub-heading.

inter

  • RFC 0005: Structural Type Interference > Inference rules
  • RFC 0005: Structural Type Interference > Soundness
  • RFC 0004: Type Hints > Status and non-goals
  • RFC 0005: Structural Type Interference > The type lattice > Termination: deth cap
Image

Observation: Where did the previous results go?

intero

  • no results
Image

Observation: Where did all the results go?

interop

  • Host Interop
  • Cljc Interop
  • Native Interop (FFI)
  • Host Interop
Image

Observation: These are what I expected.

Conclusion

Typing "interop" the search gives slightly surprising results with a partial search query, often pointing to quite deep in sub-headings, while the final result is fine.

With partial results the sub-headings seem to be getting prioritized too much over top-level headings / page titles.

Worth checking also why "intero" doesn't return any results.

I didn't look at the implementation but these are some observations / guesses.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions