Skip to content

Commit

Permalink
iter
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Dec 3, 2024
1 parent ef0f710 commit b25003e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void testDefaults() throws Exception {
List<IndexableField> fields = doc1.rootDoc().getFields("field");
assertEquals(2, fields.size());
if (IndexVersion.current().luceneVersion().major == 10) {
// will fail when upgrading to Lucene 10.1 which requires to switch back to FeatureField
// TODO: Update to use Lucene's FeatureField after upgrading to Lucene 10.1.
assertThat(IndexVersion.current().luceneVersion().minor, equalTo(0));
}
assertThat(fields.get(0), Matchers.instanceOf(XFeatureField.class));
Expand Down

0 comments on commit b25003e

Please sign in to comment.