Merge pull request #7476 from halo-dev/chore/upgrade-to-lucene-10.2.1

Bump Lucene to 10.2.1
pull/7471/head^2 v2.21.0-alpha.1
John Niang 2025-05-26 23:04:00 +08:00 committed by GitHub
commit 981d6d1c4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -273,7 +273,7 @@ public class LuceneSearchEngine implements SearchEngine, InitializingBean, Dispo
}
var result = new SearchResult();
result.setHits(haloDocs);
result.setTotal(hits.totalHits.value);
result.setTotal(hits.totalHits.value());
result.setKeyword(keyword);
result.setLimit(limit);
result.setProcessingTimeMillis(stopWatch.getTotalTimeMillis());

View File

@ -1,5 +1,5 @@
[versions]
lucene = '9.12.0'
lucene = '10.2.1'
resilience4j = '2.3.0'
therapi = '0.15.0'