rvesse commented on code in PR #2121:
URL: https://github.com/apache/jena/pull/2121#discussion_r1441667221
##########
jena-text/src/main/java/org/apache/jena/query/text/TextIndexLucene.java:
##########
@@ -722,6 +723,10 @@ private String composeQField(String qs, String textField,
String lang, boolean u
List<String> searchForTags = Util.getSearchForTags(lang);
boolean usingSearchFor = Util.usingSearchFor(lang);
+ // The set will reduce lucene text field expressions
+ // to unique expressions
+ Set<String> uniquePropListQueryStrings = new HashSet<>();
Review Comment:
Is there any scenario in which the ordering of the generated clauses is
going to matter?
i.e. should this be a `LinkedHashSet` instead?
+1 on eliminating duplicate clauses
--
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]