Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
C:\opensearch-3.0.0-windows-x64\opensearch-3.0.0
Describe the issue:
RAG chatbot with a conversational flow agent - OpenSearch Documentation <–On creation of Create a vector index specifying the ingest pipeline as a default pipeline.
curl -XPUT “http://localhost:9200/test_population_data” -H ‘Content-Type: application/json’ -d’
{
“mappings”: {
“properties”: {
“population_description”: {
“type”: “text”
},
“population_description_embedding”: {
“type”: “knn_vector”,
“dimension”: 384
}
}
},
“settings”: {
“index”: {
“knn.space_type”: “cosinesimil”,
“default_pipeline”: “test_population_data_pipeline”,
“knn”: “true”
}
}
}
’
It gives the below error
{
“error”: {
“root_cause”: [
{
“type”: “settings_exception”,
“reason”: “unknown setting [index.knn.space_type] please check that any required plugins are installed, or check the breaking changes documentation for removed settings”
}
],
“type”: “settings_exception”,
“reason”: “unknown setting [index.knn.space_type] please check that any required plugins are installed, or check the breaking changes documentation for removed settings”
},
“status”: 400
}
When I run below command, the plugin opensearch-knn is already present.
PS C:\opensearch-3.0.0-windows-x64\opensearch-3.0.0\bin> .\opensearch-plugin list
opensearch-alerting
opensearch-anomaly-detection
opensearch-asynchronous-search
opensearch-cross-cluster-replication
opensearch-custom-codecs
opensearch-flow-framework
opensearch-geospatial
opensearch-index-management
opensearch-job-scheduler
opensearch-knn
opensearch-ltr
opensearch-ml
opensearch-neural-search
opensearch-notifications
opensearch-notifications-core
opensearch-observability
opensearch-reports-scheduler
opensearch-security
opensearch-security-analytics
opensearch-skills
opensearch-sql
opensearch-system-templates
query-insights
How to fix the error?