{% extends "base.html" %} {% block title %}Search — mdmem{% endblock %} {% block content %}

Search

{% if resp is not none %}

{{ resp.results|length }} hits · fusion {{ resp.fusion }}{% if resp.truncated %} · truncated{% endif %}

{% for r in resp.results %}

{{ r.title }} {{ r.type }} {{ 'reviewed' if r.verified else 'unreviewed' }}

{{ r.snippet }}

score {{ '%.4f'|format(r.score) }} {% if r.debug %} · via {{ r.debug.via }} · lex {{ r.debug.lex_rank or '–' }} (bm25 {{ r.debug.bm25 or '–' }}) · sem {{ r.debug.sem_rank or '–' }} (cos {{ r.debug.cos or '–' }}) · fused {{ '%.6f'|format(r.debug.fused) }} {% endif %} · {{ r.updated or '' }}

{% endfor %} {% if not resp.results %}

No hits.

{% endif %} {% endif %} {% endblock %}