interface ParametersProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.OpenSearchServerless.CfnIndex.ParametersProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsopensearchserverless#CfnIndex_ParametersProperty |
Java | software.amazon.awscdk.services.opensearchserverless.CfnIndex.ParametersProperty |
Python | aws_cdk.aws_opensearchserverless.CfnIndex.ParametersProperty |
TypeScript | aws-cdk-lib » aws_opensearchserverless » CfnIndex » ParametersProperty |
Additional parameters for the k-NN algorithm.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opensearchserverless as opensearchserverless } from 'aws-cdk-lib';
const parametersProperty: opensearchserverless.CfnIndex.ParametersProperty = {
efConstruction: 123,
m: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| ef | number | The size of the dynamic list used during k-NN graph creation. |
| m? | number | Number of neighbors to consider during k-NN search. |
efConstruction?
Type:
number
(optional)
The size of the dynamic list used during k-NN graph creation.
m?
Type:
number
(optional)
Number of neighbors to consider during k-NN search.

.NET
Go
Java
Python
TypeScript