Skip to content

Comments

Add Lucene 9 and Lucene 10 support#1603

Open
velo wants to merge 2 commits intomasterfrom
lucene
Open

Add Lucene 9 and Lucene 10 support#1603
velo wants to merge 2 commits intomasterfrom
lucene

Conversation

@velo
Copy link
Member

@velo velo commented Feb 20, 2026

Summary

  • Add querydsl-lucene9 module with Lucene 9.12.3 support (Java 17)
  • Add querydsl-lucene10 module with Lucene 10.3.2 support (Java 21)
  • Wire both modules into the build and javadoc configuration

Based on the previously removed Lucene 5 module, adapted for modern Lucene APIs:

  • Immutable BooleanQuery.Builder and PhraseQuery.Builder
  • IntPoint/LongPoint/DoublePoint/FloatPoint replacing NumericRangeQuery
  • TotalHitCountCollectorManager replacing TotalHitCountCollector
  • searcher.storedFields().document() replacing searcher.doc()
  • Filter class removed; filter API now accepts Query
  • ByteBuffersDirectory replacing RAMDirectory in tests

Test plan

  • querydsl-lucene9: 183 tests pass (0 failures, 5 skipped)
  • querydsl-lucene10: 183 tests pass (0 failures, 5 skipped)
  • Both modules compile and install with quickbuild profile

velo added 2 commits February 19, 2026 21:00
Signed-off-by: Marvin Froeder <velo.br@gmail.com>
Signed-off-by: Marvin Froeder <velo.br@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant