OyvindLGjesdal commented on code in PR #2121:
URL: https://github.com/apache/jena/pull/2121#discussion_r1415377057
##########
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:
Yes, I minimized the config, so it no longer has multilingual search active,
which was the original use-case. Will add.
--
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]