tencent cloud

Cloud Infinite

Search Templates and Operators

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-09-08 16:24:28
AI 번역

Introduction

When creating a dataset, you can set a search template (TemplateId) for the dataset. A search template can contain one or more operators, which determine the metadata to be collected in the dataset. When building metadata indexes for files, the backend collects basic file information and content features as metadata indexes and stores them in the dataset based on the operators in the search template.

Search Template

Currently, only official preset search templates are provided, as shown below:
Search Template (TemplateId)
Description
Official:COSBasicMeta
COS basic metadata template. When metadata indexes are created, the COS basic metadata operator is executed to collect basic information such as the name, size, and storage type of COS files. This template is suitable for directory statistics and fuzzy keyword search on files in COS.
Official:FaceSearch
Face search template. When metadata indexes are created, the COS basic metadata operator and face information operator are executed to collect face information from images. This template is suitable for scenarios such as person albums.
Official:ImageSearch
Image search template. When metadata indexes are created, the COS basic metadata operator and image feature operator are executed to collect content features from images. This template is suitable for scenarios such as smart albums and image classification.

Operators

An operator is the smallest processing unit for collecting metadata. Different operators represent different data processing capabilities and collect different file metadata through data processing.
Note:
Using operators may incur corresponding fees. For details, see Intelligent Search Fees.
To perform face search through the image search feature, please contact us to enable the allowlist.
Operator
Description
COS basic metadata operator
Obtain basic metadata of COS files, such as file name, file type, file size, file HASH, file modification time, ETag, and Tag. For details, see Scalar Search Expression Syntax.
Face information operator
Obtain face information from images through Face Recognition.
Image feature operator
Obtain content features of images through image analysis.

Correspondence Between Search Templates and Operators

TemplateId
COS Basic Metadata Operator
Face Information Operator
Image Feature Operator
Official:COSBasicMeta
Include
Not included
Not included
Official:FaceSearch
Include
Include
Not included
Official:ImageSearch
Include
Include
Include

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백