rmuir commented on code in PR #12169:
URL: https://github.com/apache/lucene/pull/12169#discussion_r1121546026


##########
lucene/test-framework/src/java/org/apache/lucene/tests/analysis/BaseTokenStreamTestCase.java:
##########
@@ -221,6 +223,12 @@ public static void assertTokenStreamContents(
       flagsAtt = ts.getAttribute(FlagsAttribute.class);
     }
 
+    BoostAttribute boostAtt = null;

Review Comment:
   This is wrong, wrong wrong. Remove any use of boostattribute outside of 
MultiTermQuery. It documents *not to do this*.



-- 
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