-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from mh-northlander/feature/update-versions-8.13
build with es:8.13
- Loading branch information
Showing
21 changed files
with
569 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
integration/src/test/ext/es-8.00/SudachiInSearchEngineEnv.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Copyright (c) 2024 Works Applications Co., Ltd. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.worksap.nlp.elasticsearch.sudachi | ||
|
||
import org.elasticsearch.indices.analysis.AnalysisModule | ||
import org.elasticsearch.plugins.AnalysisPlugin | ||
import org.elasticsearch.plugins.PluginsService | ||
|
||
typealias PluginsServiceAlias = PluginsService | ||
|
||
fun SudachiInSearchEngineEnv.makePluginService(): PluginsServiceAlias { | ||
return PluginsService(settings(), configPath, null, pluginsPath) | ||
} | ||
|
||
fun SudachiInSearchEngineEnv.makeAnalysisModule(): AnalysisModule { | ||
val plugins = makePluginService() | ||
val analysisPlugins = plugins.filterPlugins(AnalysisPlugin::class.java) | ||
val env = environment() | ||
return AnalysisModule(env, analysisPlugins, plugins.stablePluginRegistry) | ||
} |
34 changes: 34 additions & 0 deletions
34
integration/src/test/ext/es-8.03/SudachiInSearchEngineEnv.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Copyright (c) 2024 Works Applications Co., Ltd. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.worksap.nlp.elasticsearch.sudachi | ||
|
||
import org.elasticsearch.indices.analysis.AnalysisModule | ||
import org.elasticsearch.plugins.AnalysisPlugin | ||
import org.elasticsearch.plugins.PluginsService | ||
|
||
typealias PluginsServiceAlias = PluginsService | ||
|
||
fun SudachiInSearchEngineEnv.makePluginService(): PluginsServiceAlias { | ||
return PluginsService(settings(), configPath, null, pluginsPath) | ||
} | ||
|
||
fun SudachiInSearchEngineEnv.makeAnalysisModule(): AnalysisModule { | ||
val plugins = makePluginService() | ||
val analysisPlugins = plugins.filterPlugins(AnalysisPlugin::class.java) | ||
val env = environment() | ||
return AnalysisModule(env, analysisPlugins, plugins.stablePluginRegistry) | ||
} |
34 changes: 34 additions & 0 deletions
34
integration/src/test/ext/es-8.04/SudachiInSearchEngineEnv.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Copyright (c) 2024 Works Applications Co., Ltd. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.worksap.nlp.elasticsearch.sudachi | ||
|
||
import org.elasticsearch.indices.analysis.AnalysisModule | ||
import org.elasticsearch.plugins.AnalysisPlugin | ||
import org.elasticsearch.plugins.PluginsService | ||
|
||
typealias PluginsServiceAlias = PluginsService | ||
|
||
fun SudachiInSearchEngineEnv.makePluginService(): PluginsServiceAlias { | ||
return PluginsService(settings(), configPath, null, pluginsPath) | ||
} | ||
|
||
fun SudachiInSearchEngineEnv.makeAnalysisModule(): AnalysisModule { | ||
val plugins = makePluginService() | ||
val analysisPlugins = plugins.filterPlugins(AnalysisPlugin::class.java) | ||
val env = environment() | ||
return AnalysisModule(env, analysisPlugins, plugins.stablePluginRegistry) | ||
} |
34 changes: 34 additions & 0 deletions
34
integration/src/test/ext/es-8.10/SudachiInSearchEngineEnv.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Copyright (c) 2024 Works Applications Co., Ltd. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.worksap.nlp.elasticsearch.sudachi | ||
|
||
import org.elasticsearch.indices.analysis.AnalysisModule | ||
import org.elasticsearch.plugins.AnalysisPlugin | ||
import org.elasticsearch.plugins.PluginsService | ||
|
||
typealias PluginsServiceAlias = PluginsService | ||
|
||
fun SudachiInSearchEngineEnv.makePluginService(): PluginsServiceAlias { | ||
return PluginsService(settings(), configPath, null, pluginsPath) | ||
} | ||
|
||
fun SudachiInSearchEngineEnv.makeAnalysisModule(): AnalysisModule { | ||
val plugins = makePluginService() | ||
val analysisPlugins = plugins.filterPlugins(AnalysisPlugin::class.java) | ||
val env = environment() | ||
return AnalysisModule(env, analysisPlugins, plugins.stablePluginRegistry) | ||
} |
34 changes: 34 additions & 0 deletions
34
integration/src/test/ext/es-8.12-ge/SudachiInSearchEngineEnv.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Copyright (c) 2024 Works Applications Co., Ltd. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.worksap.nlp.elasticsearch.sudachi | ||
|
||
import org.elasticsearch.indices.analysis.AnalysisModule | ||
import org.elasticsearch.plugins.AnalysisPlugin | ||
import org.elasticsearch.plugins.PluginsService | ||
|
||
typealias PluginsServiceAlias = PluginsService | ||
|
||
fun SudachiInSearchEngineEnv.makePluginService(): PluginsServiceAlias { | ||
return PluginsService(settings(), configPath, null, pluginsPath) | ||
} | ||
|
||
fun SudachiInSearchEngineEnv.makeAnalysisModule(): AnalysisModule { | ||
val plugins = makePluginService() | ||
val analysisPlugins = plugins.filterPlugins(AnalysisPlugin::class.java).toList() | ||
val env = environment() | ||
return AnalysisModule(env, analysisPlugins, plugins.stablePluginRegistry) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/ext/es-8.30-lt/factory-adapters.kt → src/main/ext/es-8.03-lt/factory-adapters.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/ext/es-8.30/factory-adapters.kt → src/main/ext/es-8.03/factory-adapters.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/ext/es-8.40-ge/factory-adapters.kt → src/main/ext/es-8.04-ge/factory-adapters.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright (c) 2023-2024 Works Applications Co., Ltd. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
@file:Suppress("PackageDirectoryMismatch") | ||
|
||
package com.worksap.nlp.search.aliases | ||
|
||
typealias IndexCreationContext = org.elasticsearch.index.IndexService.IndexCreationContext |
Oops, something went wrong.