Skip to content

[Bug]: Document id does not contain the language #33

Description

@joubu

Bug Description

The document id is generated from only url + content, it does not include the language in the hash.

Different languages should have different IDs.

Steps to Reproduce

Index in English, then using another language, the document id will be kept but the language will change.
When searching the language filter will exclude the document for English.

Expected Behavior

Have unique ID per language.

Actual Behavior

ID shared

Sphinx Version

Other (specify in additional context)

Python Version

3.12

Typesense Version

docker typesense:30.1

Sphinx Theme

sphinx_rtd_theme (Read the Docs)

Relevant Logs / Error Output

Configuration

Screenshots

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions