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

TokenMgrError exception should be promoted to the QueryParserException #182

Closed
cmacdonald opened this issue Jun 28, 2021 · 3 comments
Closed

Comments

@cmacdonald
Copy link
Contributor

ditto for MatchOp parsing.

See terrier-org/pyterrier#199 (comment)

@cmacdonald
Copy link
Contributor Author

Example of corrected output in PyTerrier:
jnius.JavaException: JVM exception occurred: Failed to process qid 1 'chemical / reactions' -- Lexical error at line 1, column 10. Encountered: "/" (47), after : "" org.terrier.querying.parser.QueryParserException

cmacdonald added a commit that referenced this issue Jun 28, 2021
@cmacdonald
Copy link
Contributor Author

Also now:

jnius.JavaException: JVM exception occurred: Failed to process qid 1 'chemical {reactions}' -- Encountered " "}" "} "" at line 1, column 20.
Was expecting:
    <ALPHANUMERIC> ...

@cmacdonald
Copy link
Contributor Author

Test failures unrelated. Closing

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

1 participant