Commit graph

6 commits

Author SHA1 Message Date
Mark Vieira
cf95c34700
Fix third party audit task when running with Java 20 (#94601)
The upgrade to Lucene 9.6 snapshot broke third party audit when running
against Java 20, presumably because the usage of the since removed
MemorySegment API has been removed.
2023-03-21 13:41:02 -04:00
Mark Vieira
8e44603c06
Fix thirdPartyAudit tasks when running with Java 20 (#93394) 2023-02-01 09:10:51 -08:00
Przemyslaw Gomulka
2cdaabe783
[Stable plugin api] Drop api suffix in package names (#92905)
Refactoring that drops the api suffix from package name
This will have to be followed up by a plugins/examples fix in imports
Also set an artifact group name to `org.elasticsearch.plugin` in the plugin-api and plugin-analysis-api
2023-01-14 09:49:37 +01:00
Przemyslaw Gomulka
31cba2d085
[Stable plugin api] Extensible annotation (#89903)
This commits adds an Extensible annotation aimed to mark things that can be loaded by a component loader.
It also marks Analyzer api components (AnalyzerFactory, CharFilterFactory, TokenFilterFactory and TokenizerFactory) with this annotation.

relates #88980
2022-09-09 10:41:27 +02:00
Przemyslaw Gomulka
2b6d4e97df
Fix module and package names for stable plugin api (#89772)
the convention for packages and module names is:
org.elasticsearch.plugin[.analysis].api

module-info.java and package-info.java were using incorrect names
and not following the convention
relates #88980
2022-09-05 10:13:20 +02:00
Przemyslaw Gomulka
bc4c6784dd
Stable Plugin API modules and analysis interfaces (#88775)
This commit adds stable analysis plugin API with analysis components interfaces and annotations.
It does not contain any usage of it yet. Separate changes to introduce example plugins or refactoring to existing ones will follow later.

It contains two gradle modules. One plugin-api with two annotations Nameable and NamedComponent, which can be reused for plugins other than analysis.
And second analysis-plugin-api which contains analysis components (TokenFilterFactory, CharFilterFactory etc)

NamedComponent - used by plugin developer - indicates that a Nameable component will be registered under a given name.
Nameable - for analysis plugins it is only used by the stable analysis api designers (ES) - indicates that component have a name and should be declared with NamedComponent

additional tasks that will follow: #88980
2022-08-30 11:04:39 +02:00