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

Lucene keyword search sanitization #5

Open
tomasonjo opened this issue Nov 12, 2024 · 0 comments · May be fixed by #36
Open

Lucene keyword search sanitization #5

tomasonjo opened this issue Nov 12, 2024 · 0 comments · May be fixed by #36
Assignees

Comments

@tomasonjo
Copy link
Contributor

We don't handle cases where some prefixes cause errors:

CALL db.index.fulltext.queryNodes("org_name_fulltext", "/b testing", {limit: 3})
YIELD node, score

causes an error:

Failed to invoke procedure db.index.fulltext.queryNodes: Caused by: org.apache.lucene.queryparser.classic.TokenMgrError: Lexical error at line 1, column 11. Encountered: after prefix "/b testing" (in lexical state 2)

@alexthomas93 alexthomas93 self-assigned this Jan 10, 2025
@alexthomas93 alexthomas93 linked a pull request Jan 10, 2025 that will close this issue
10 tasks
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

Successfully merging a pull request may close this issue.

2 participants