jpountz commented on code in PR #15266:
URL: https://github.com/apache/lucene/pull/15266#discussion_r2394597053


##########
lucene/test-framework/src/java/org/apache/lucene/tests/index/BasePostingsFormatTestCase.java:
##########
@@ -1798,4 +1800,31 @@ public void testDocIDRunEnd() throws Exception {
     }
     dir.close();
   }
+
+  protected boolean indexFakeImpacts() {
+    return false;
+  }

Review Comment:
   Typically you would check FieldIndex#indexOptions. If the value is DOCS, 
then frequencies are not indexed.



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