cardano-scaling / hydra

Implementation of the Hydra Head protocol
https://hydra.family/head-protocol/
Apache License 2.0
277 stars 84 forks source link

Search has duplicate results (normal + unstable) #1636

Open ch1bo opened 3 weeks ago

ch1bo commented 3 weeks ago

Context & versions

After fixing basic operation of the Algolia crawler and search in #1556, we get results listed twice.

Steps to reproduce

  1. Search for "offline"

Actual behavior

Duplicate links into the various sections

image

Expected behavior

Only present results from /unstable when we are on /unstable.

Ideally, the results should also be ranked in a way that user manual and docs come before ADRs, tests or haddocks.

ch1bo commented 2 weeks ago

When using the search query "limits" we don't have the unstable/normal search results, but even mangled URLs which are not accessible. For example: https://hydra.family/head-protocol/unstable/head-protocol/docs/known-issues/#head-protocol-limits