Skip to content

Return multiple results per file #685

@spasche

Description

@spasche

This is a clone of #154 since it still affects latest version 2.5.2

Steps to reproduce:

> qmd --version
qmd 2.5.2

> mkdir /tmp/gh-154
> cd /tmp/gh-154
> curl -o llms-full.md https://docs.openclaw.ai/llms-full.txt

# there are plenty of "channel" words in the document:
> grep -i channel llms-full.md|wc -l
5146

# but only one result is returned:
> qmd --index=gh-154 collection add .
> qmd --index=gh-154 update
> qmd --index=gh-154 search channel --all --json | jq .[].file -r
qmd://gh-154/llms-full.md?index=gh-154

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions