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

backend chokes on ! in text-query #9

Open
nleanba opened this issue Jan 3, 2019 · 0 comments
Open

backend chokes on ! in text-query #9

nleanba opened this issue Jan 3, 2019 · 0 comments
Labels
backlog bug Something isn't working

Comments

@nleanba
Copy link
Member

nleanba commented Jan 3, 2019

GET /doc?text=!abc and GET /doc?text=! produce an Error 500

Orgin of problem:

Malformed sparql-query, because tridoc-backend logs FetchError: invalid json response body at http://fuseki:3030/3DOC/query reason: Unexpected token E in JSON at position 0

and fuseki logs:

... // Long Error stack
Caused by: org.apache.jena.query.text.TextIndexParseException: Text search parse error:
Cannot parse 'name:!': Encountered " <NOT> "! "" at line 1, column 5.
@nleanba nleanba added the bug Something isn't working label Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant