Skip to content

Commit 14b4b57

Browse files
authored
UX fit-n-finish updates VIII (opensearch-project#577)
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
1 parent 74c8559 commit 14b4b57

File tree

11 files changed

+1342
-1017
lines changed

11 files changed

+1342
-1017
lines changed

common/constants.ts

+7
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,10 @@ export const GITHUB_FEEDBACK_LINK =
246246
export const JSONPATH_DOCS_LINK = 'https://www.npmjs.com/package/jsonpath';
247247
export const KNN_VECTOR_DOCS_LINK =
248248
'https://opensearch.org/docs/latest/field-types/supported-field-types/knn-vector/';
249+
export const BULK_API_DOCS_LINK =
250+
'https://opensearch.org/docs/latest/api-reference/document-apis/bulk/';
251+
export const SEARCH_PIPELINE_DOCS_LINK =
252+
'https://opensearch.org/docs/latest/search-plugins/search-pipelines/using-search-pipeline/';
249253

250254
/**
251255
* Text chunking algorithm constants
@@ -319,6 +323,7 @@ export const KNN_QUERY = {
319323
},
320324
},
321325
},
326+
size: 10,
322327
};
323328
export const SEMANTIC_SEARCH_QUERY_NEURAL = {
324329
_source: {
@@ -594,6 +599,8 @@ export const NO_MODIFICATIONS_FOUND_TEXT =
594599
export const JSONPATH_ROOT_SELECTOR = '$';
595600
export const REQUEST_PREFIX = '_request.';
596601
export const REQUEST_PREFIX_WITH_JSONPATH_ROOT_SELECTOR = '$._request.';
602+
export const WORKFLOW_NAME_RESTRICTIONS =
603+
'Invalid workflow name. Valid characters are a-z, A-Z, 0-9, -(hyphen), _(underscore).';
597604
export enum SORT_ORDER {
598605
ASC = 'asc',
599606
DESC = 'desc',

0 commit comments

Comments
 (0)