rvesse commented on code in PR #2121:
URL: https://github.com/apache/jena/pull/2121#discussion_r1415368214


##########
jena-text/src/main/java/org/apache/jena/query/text/TextIndexLucene.java:
##########
@@ -704,7 +704,7 @@ private String composeQField(String qs, String textField, 
String lang, boolean u
             if (this.isMultilingual && StringUtils.isNotEmpty(lang) && 
!lang.equals("none")) {
                 textField += "_" + lang;
             }
-            textClause = textField + ":" + qs + " ";
+            textClause = textField + ": (" + qs + ") ";

Review Comment:
   Does the `usingSearchFor` branch of the `if` also need this fix?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to