Skip to content

[Bug]: Uploaded document is not retrievable/searchable using its unique content. #1138

@sreedevi-m-2026

Description

@sreedevi-m-2026

OpenRAG Version

0.3.0

Deployment Method

uv add (installed in project)

Operating System

macOs 15.6

Python Version

python 3.13

Affected Area

Retrieval (search, OpenSearch, hybrid search)

Bug Description

When searching for a unique token in the Project Knowledge search bar, the results include unrelated documents that do not contain the searched text.

This indicates the search is not filtering documents strictly based on content or metadata.

Steps to Reproduce

  1. Upload multiple documents to the knowledge base.
    One document contains a unique token:
    OPENSEARCH-7419-ZX
  2. Navigate to:
    Knowledge → Project Knowledge
    Enter the unique token in the search bar:

OPENSEARCH-7419-ZX

Expected Behavior

Only documents containing the searched token should appear.

Example:

OpenRAG Index Test Document.txt

Actual Behavior

The search results display multiple unrelated documents such as:

rag_intro.pdf
ai_concepts.xlsx
rag_notes.csv
nlp.html
ai_overview.md
docling_info.adoc

These files do not contain the searched token.

Relevant Logs

Screenshots

Image

OpenRAG Index Test Document.txt

Additional Context

No response

Checklist

  • I have searched existing issues to ensure this bug hasn't been reported before.
  • I have provided all the requested information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🔴 Something isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions