Skip to content

Query using field modifiers returning syntax error if the field name contains '_' #51

Closed

Description

@vruizext

FT.SEARCH idx @brand:(ford) @model:(mustang gt) => works

If now I index brand and model in a single field and name it brand_model

FT.SEARCH idx @brand_model:(ford mustang) => (error) Syntax error at offset 0 near 'brand'

RediSearch 0.16 with Redis 3.9.103

Activity

  1. changed the title [-]Using field modifiers returning syntax error if the field name contains '_'[/-] [+]Query using field modifiers returning syntax error if the field name contains '_'[/+] on May 20, 2017
  2. dvirsky commented on May 20, 2017

    @dvirsky
    Contributor

    Thanks @vruizext. It's fixed now in master, you can pull it and verify.

  3. vruizext commented on May 20, 2017

    @vruizext
    ContributorAuthor

    wow that was fast! will pull it and test, thanks! 👍

  4. vruizext commented on May 20, 2017

    @vruizext
    ContributorAuthor

    confirmed, it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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