OAK-9694: expose elastic stats in oak-index-stats and mbean (#498)
authorFabrizio Fortino <fabrizio.fortino@gmail.com>
Tue, 22 Feb 2022 14:30:01 +0000 (15:30 +0100)
committerGitHub <noreply@github.com>
Tue, 22 Feb 2022 14:30:01 +0000 (15:30 +0100)
commitec659a01a8f7612d68d1e2ad8a358a4725ac4065
tree9fbe8e3269dff8c3d93ed955c75fac1289dc89b6
parent4b285d291bcad561720ee2653334239c2741a152
OAK-9694: expose elastic stats in oak-index-stats and mbean (#498)

* OAK-9691 Improve fulltext query syntax support for ElasticSearch

* OAK-9687 (refactor): move common IndexMBean behaviour in oak-search

* OAK-9694: (refactoring) better handling of different formats in IndexPrinter

* OAK-9694: implemented ElasticIndexInfoProvider

* OAK-9694: add ElasticIndexMBean

* OAK-9694: IndexPrinter improvements

* OAK-9694: IndexPrinter code formatting

Co-authored-by: zjun <zjun@adobe.com>
13 files changed:
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/IndexInfo.java
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/inventory/IndexPrinter.java
oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/index/inventory/IndexPrinterTest.java
oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexInfoProvider.java
oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexMBean.java
oak-search-elastic/src/main/java/org/apache/jackrabbit/oak/plugins/index/elastic/ElasticIndexInfoProvider.java [new file with mode: 0644]
oak-search-elastic/src/main/java/org/apache/jackrabbit/oak/plugins/index/elastic/ElasticIndexMBean.java [new file with mode: 0644]
oak-search-elastic/src/main/java/org/apache/jackrabbit/oak/plugins/index/elastic/ElasticIndexProviderService.java
oak-search-elastic/src/main/java/org/apache/jackrabbit/oak/plugins/index/elastic/ElasticIndexStatistics.java
oak-search-elastic/src/test/java/org/apache/jackrabbit/oak/plugins/index/elastic/ElasticIndexProviderServiceTest.java
oak-search/src/main/java/org/apache/jackrabbit/oak/plugins/index/search/IndexMBean.java [new file with mode: 0644]
oak-search/src/main/java/org/apache/jackrabbit/oak/plugins/index/search/spi/editor/FulltextIndexEditorContext.java
oak-search/src/main/java/org/apache/jackrabbit/oak/plugins/index/search/spi/query/FulltextIndexTracker.java