Skip to content

EqualPredicate changes in 0.9.10 breaking search syntax #609

@jawalker0

Description

@jawalker0

The changes made here in v 0.9.10 have broken all of my searches due to creating invalid syntax.

Here's the relevant part of my search code:

stream.filter(EventLog$.TYPE.eq(EventLog.EventType.valueOf(bean.getType())));

It was running a query like this:
ft.search eventLogIdx "( @type:{REGISTRATION} )"

The upgrade changed it to run the query with escaped quotes like this:
ft.search eventLogIdx "( @type:{\"REGISTRATION\"} )"

(error) Syntax error at offset 10 near type

Code still functions as expected in 0.9.9.

I am running redis-stack 7.2.0-v6. Were some other upgrades needed to make the jump to 0.9.10 and above?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv1.0.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions