Skip to content

ismissing(@field) not working #3605

@zuhairamahdi

Description

@zuhairamahdi

Hi All,

when I try to check if a field is missing (with dialect 2 specified' it gives me the same error as if I didn't specify the dialect.

r.ft(f"idx:{INDEX}").search(Query('ismissing(@Name_Ar) AND @Active:[1 1]').dialect(2))

Output

Syntax error at offset 18 near Name_Ar

when I try using the CLI it works:

FT.SEARCH 'idx:my_index' 'ismissing(@Name_Ar) AND @Active:[1 1]' DIALECT 2

any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions