interface MethodProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.OpenSearchServerless.Mixins.CfnIndexPropsMixin.MethodProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsopensearchserverless/mixins#CfnIndexPropsMixin_MethodProperty |
Java | software.amazon.awscdk.mixins.preview.services.opensearchserverless.mixins.CfnIndexPropsMixin.MethodProperty |
Python | aws_cdk.mixins_preview.aws_opensearchserverless.mixins.CfnIndexPropsMixin.MethodProperty |
TypeScript | @aws-cdk/mixins-preview » aws_opensearchserverless » mixins » CfnIndexPropsMixin » MethodProperty |
Configuration for k-NN search method.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as opensearchserverless_mixins } from '@aws-cdk/mixins-preview/aws-opensearchserverless';
const methodProperty: opensearchserverless_mixins.CfnIndexPropsMixin.MethodProperty = {
engine: 'engine',
name: 'name',
parameters: {
efConstruction: 123,
m: 123,
},
spaceType: 'spaceType',
};
Properties
| Name | Type | Description |
|---|---|---|
| engine? | string | The k-NN search engine to use. |
| name? | string | The algorithm name for k-NN search. |
| parameters? | IResolvable | Parameters | Additional parameters for the k-NN algorithm. |
| space | string | The distance function used for k-NN search. |
engine?
Type:
string
(optional)
The k-NN search engine to use.
name?
Type:
string
(optional)
The algorithm name for k-NN search.
parameters?
Type:
IResolvable | Parameters
(optional)
Additional parameters for the k-NN algorithm.
spaceType?
Type:
string
(optional)
The distance function used for k-NN search.

.NET
Go
Java
Python
TypeScript