Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems using the queryBuilder with prefix queries. #164

Open
pinkfloydsito opened this issue Aug 23, 2021 · 1 comment
Open

Problems using the queryBuilder with prefix queries. #164

pinkfloydsito opened this issue Aug 23, 2021 · 1 comment

Comments

@pinkfloydsito
Copy link

I am having trouble to build a query using that library. In the empty node I just have a disjunct.
Node empty = disjunct("browsers", value("browsername*"));

result = union(empty, whiteScenary, blackScenary);

When i build the query i get the following...
(-@browsers:browsername*|(@browsers:browsername_chrome))
image

This is not finding anything, it just finds when I add the parenthesis sorrounding the disjunct part.
((-@browsers:browsername*)|(@browsers:browsername_chrome))
image

Is there any way we can fix this to continue using the queryBuilder?

@sazzad16
Copy link
Collaborator

@pinkfloydsito At this moment, this is the way to do. And this is happening in RediSearch. JRediSearch alone can't resolve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants