정의
중요
$vectorSearch 집계 파이프라인 단계는 MongoDB 6 버전.. 이상을 실행 MongoDB Atlas cluster 계층에서 호스팅되는 컬렉션에만 사용할 수0 11 있습니다. 자세히 학습 Atlas Vector Search 참조하세요.
$vectorSearch$vectorSearchAtlas cluster 의 데이터에 대해 시맨틱 검색 수행합니다.If you store vector embeddings on your Atlas cluster, you can seamlessly index the vector data along with your other collection data. You can use the
$vectorSearchstage to pre-filter your data and perform semantic search against the indexed fields.벡터 데이터의 너비는 8192 차원 이하여야 합니다.
행동
MongoDB 부터는 8.0 단계에서 $vectorSearch 단계를 사용할 $unionWith 수 있습니다.
제한 사항
자세히 알아보기
Atlas Vector Search 인덱스 생성에 대해 자세히 학습 인덱스 벡터 임베딩을 참조하세요.
To learn more about
$vectorSearchpipeline stage syntax and usage, see Vector Search Queries.