Upgrade Lucene to 9.5.0 (#3190)

#### What type of PR is this?

/kind improvement
/area core
/milestone 2.2.x

#### What this PR does / why we need it:

See https://lucene.apache.org/core/9_5_0/MIGRATE.html for more.

#### Special notes for your reviewer:

Please confirm that the search widget is working fine.

#### Does this PR introduce a user-facing change?

```release-note
升级依赖 Lucene 至 9.5.0
```
pull/3194/head
John Niang 2023-01-31 15:14:09 +08:00 committed by GitHub
parent f851b1ba53
commit c079762f65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -48,6 +48,7 @@ ext {
jsoup = '1.15.3'
jsonPatch = "1.13"
springDocOpenAPI = "2.0.2"
lucene = "9.5.0"
}
dependencies {
@ -69,9 +70,10 @@ dependencies {
implementation "net.bytebuddy:byte-buddy"
// Apache Lucene
implementation 'org.apache.lucene:lucene-core:9.4.1'
implementation 'org.apache.lucene:lucene-queryparser:9.4.1'
implementation 'org.apache.lucene:lucene-highlighter:9.4.1'
implementation "org.apache.lucene:lucene-core:$lucene"
implementation "org.apache.lucene:lucene-queryparser:$lucene"
implementation "org.apache.lucene:lucene-highlighter:$lucene"
implementation "org.apache.lucene:lucene-backward-codecs:$lucene"
implementation 'cn.shenyanchao.ik-analyzer:ik-analyzer:9.0.0'
implementation "org.apache.commons:commons-lang3:$commonsLang3"