-
Notifications
You must be signed in to change notification settings - Fork 18
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
Gravsearch filter match string with spaces #1562
Comments
do I have to split the string and add an |
maybe it is the escape sequence for the quotes: https://www.w3.org/TR/sparql11-query/#grammarEscapes |
the error you see is a syntactical problem |
I tried that: {
"knora-api:error": "org.knora.webapi.TriplestoreResponseException: Triplestore responded with HTTP code 400: MALFORMED QUERY: Lexical error at line 14, column 103. Encountered: \" \" (32), after : \"la\"",
"@context": {
"knora-api": "http://api.knora.org/ontology/knora-api/v2#"
}
} |
and without the quotes? 'la révolution vaudoise' |
it works but it retrieves results like a |
I will try tomorrow to inspect the sparql query genrated. |
'+la +révolution +vaudoise'? |
From UI interface point of view I should add a check box |
it works, I think it is like to add an |
What you tried to do first is a phrase search and I believe it lead to a syntactical error bevause of the quotes |
Is there a way to force Lucene (behind the scene) to match a string with spaces?
In my example I try to match a title :
la révolution vaudoise
to the propertybibliographicNoticeHasTitle
.So I tried to escape the double quote to enforce a string with spaces:
but I get this error:
The text was updated successfully, but these errors were encountered: