-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
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 property bibliographicNoticeHasTitle.
So I tried to escape the double quote to enforce a string with spaces:
?bibliographicNoticeHasTitle knora-api:valueAsString ?bibliographicNoticeHasTitle_Value .
FILTER knora-api:match(?bibliographicNoticeHasTitle_Value, "\"la révolution vaudoise\"")
}
but I get this error:
{
"knora-api:error":"org.knora.webapi.TriplestoreResponseException: Triplestore responded with HTTP code 400: MALFORMED QUERY: Lexical error at line 15, column 104. Encountered: \" \" (32), after : \"Les\"",
"@context":
{ "knora-api":"http://api.knora.org/ontology/knora-api/v2#"}
}