You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by so...@apache.org on 2026/04/25 11:57:06 UTC

(lucene) branch branch_10x updated: Fix nightly test fail after adding custom_term_freq; fixes #15984 (#15987)

This is an automated email from the ASF dual-hosted git repository.

msokolov pushed a commit to branch branch_10x
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/branch_10x by this push:
     new 754fc790c58 Fix nightly test fail after adding custom_term_freq; fixes #15984 (#15987)
754fc790c58 is described below

commit 754fc790c5871518b135d980840885c217c78c47
Author: Michael Sokolov <so...@falutin.net>
AuthorDate: Sat Apr 25 07:57:01 2026 -0400

    Fix nightly test fail after adding custom_term_freq; fixes #15984 (#15987)
---
 .../lucene/backward_codecs/lucene50/TestBlockPostingsFormat2.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/backward_codecs/lucene50/TestBlockPostingsFormat2.java b/lucene/backward-codecs/src/test/org/apache/lucene/backward_codecs/lucene50/TestBlockPostingsFormat2.java
index 337ec450c43..bb3330b994d 100644
--- a/lucene/backward-codecs/src/test/org/apache/lucene/backward_codecs/lucene50/TestBlockPostingsFormat2.java
+++ b/lucene/backward-codecs/src/test/org/apache/lucene/backward_codecs/lucene50/TestBlockPostingsFormat2.java
@@ -65,7 +65,7 @@ public class TestBlockPostingsFormat2 extends LuceneTestCase {
   private Document newDocument() {
     Document doc = new Document();
     for (IndexOptions option : IndexOptions.values()) {
-      if (option == IndexOptions.NONE) {
+      if (option == IndexOptions.NONE || option == IndexOptions.DOCS_AND_CUSTOM_FREQS) {
         continue;
       }
       FieldType ft = new FieldType(TextField.TYPE_NOT_STORED);