-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '2.x' into backport-143-plus-177-to-2.x
Signed-off-by: Louis Chu <clingzhi@amazon.com>
- Loading branch information
Showing
20 changed files
with
638 additions
and
104 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ on: [pull_request, push] | |
env: | ||
PLUGIN_NAME: dashboards-search-relevance | ||
|
||
|
||
jobs: | ||
build: | ||
strategy: | ||
|
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,11 @@ | ||
{ | ||
"serverSourcePatterns": [ | ||
"package.json", | ||
"tsconfig.json", | ||
"yarn.lock", | ||
".yarnrc", | ||
"{lib,public,server,webpackShims,translations,utils,models,common}/**/*", | ||
"!__tests__", | ||
"config.ts" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
import { schema, TypeOf } from '@osd/config-schema'; | ||
|
||
import { METRIC_INTERVAL, DEFAULT_WINDOW_SIZE } from './server/metrics'; | ||
|
||
export const configSchema = schema.object({ | ||
metrics: schema.object({ | ||
metricInterval: schema.number({ defaultValue: METRIC_INTERVAL.ONE_MINUTE }), | ||
windowSize: schema.number({ min: 2, max: 10, defaultValue: DEFAULT_WINDOW_SIZE }), | ||
}), | ||
}); | ||
|
||
export type SearchRelevancePluginConfigType = TypeOf<typeof configSchema>; |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"id": "searchRelevanceDashboards", | ||
"version": "2.5.0.0", | ||
"opensearchDashboardsVersion": "2.5.0", | ||
"version": "2.8.0.0", | ||
"opensearchDashboardsVersion": "2.8.0", | ||
"server": true, | ||
"ui": true, | ||
"requiredPlugins": [ | ||
"navigation" | ||
] | ||
} | ||
} |
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
15 changes: 15 additions & 0 deletions
15
release-notes/opensearch-dashboards-search-relevance.release-notes-2.7.0.0.md
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,15 @@ | ||
## What's Changed | ||
### Features | ||
* [Feature] Exposing Metrics for Search Comparison Tool by @noCharger in https://github.com/opensearch-project/dashboards-search-relevance/pull/162 | ||
|
||
### Bug Fixes & Maintainence | ||
* [Bug][Build] export config file by @kavilla in https://github.com/opensearch-project/dashboards-search-relevance/pull/183 | ||
* removing stats.yml until an alternate can be found that can publish P… by @macohen in https://github.com/opensearch-project/dashboards-search-relevance/pull/110 | ||
|
||
## New Maintainers | ||
* New Maintainers - Sean Li and Louis Chu by @macohen in https://github.com/opensearch-project/dashboards-search-relevance/pull/172 | ||
## New Contributors | ||
* @kavilla made their first contribution in https://github.com/opensearch-project/dashboards-search-relevance/pull/183 | ||
|
||
**Full Changelog**: https://github.com/opensearch-project/dashboards-search-relevance/commits/2.7.0.0 | ||
|
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,23 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
export { MetricsServiceSetup, MetricsService } from './metrics_service'; | ||
|
||
export enum METRIC_INTERVAL { | ||
ONE_SECOND = 1000, | ||
ONE_MINUTE = 60000, | ||
} | ||
|
||
export const DEFAULT_WINDOW_SIZE = 3; | ||
|
||
export enum METRIC_NAME { | ||
SEARCH_RELEVANCE = 'search_relevance', | ||
} | ||
|
||
export enum METRIC_ACTION { | ||
COMPARISON_SEARCH = 'comparison_search', | ||
SINGLE_SEARCH = 'single_search', | ||
FETCH_INDEX = 'fetch_index', | ||
} |
Oops, something went wrong.