Product docs
- Getting started
- Platform and account
- Products
- Product Overview
- Tengence Search
- Product Overview
- Use cases: which businesses Tengence Search fits
- Getting started
- Search Setup: App, Dataset, Index, First Query
- OpenSearch Spring Boot Starter Integration
- Elasticsearch Spring Boot Starter Integration
- Guides
- Index Concepts and Configuration Guide
- Index Schema Reference
- Search Ranking and Weighting Configuration
- Ranking Factors and Functions Reference
- Search Suggestions and Intervention Rules
- Developer reference
- Search API Reference
- Search API Integration and Examples
- Search Widget Integration
- Operations and support
- Search Operations and Monitoring
- Search Troubleshooting
- Query Rules and Query Intervention
- Search Log Collection Policy
- Query Understanding Configuration
- Tengence GEO
- Tengence Recommendation
- Tengence Insight
- Data Integration
- Integration and API
- Solutions
- Concepts and metrics
Upload a dataset
Import CSV, Excel, JSON or XML into a Tengence dataset. Prepare headers, map fields, set the unique ID and verify records.
File upload in Tengence Data Integration creates a dataset from a CSV, Excel, JSON or XML file. It is the fastest way to put a product catalog, content list or seed table into Tengence without running a server.
The wizard parses the file, previews rows, maps columns to dataset fields and asks you to mark one field as the unique ID. When the import finishes, the app status becomes Completed and the dataset is ready to bind to Search, GEO, Recommendation or Insight.
When to use file upload
- You have a one-time export from an ERP, PIM, spreadsheet or content system.
- The file is under 10 MB and does not need continuous updates.
- You want to validate a schema before building an API or MySQL pipeline.
- You need a small sample dataset for a Search or Insight demo.
Re-importing does not overwrite an existing dataset. Each successful upload creates a separate dataset. If records must be updated in place, use API push or MySQL sync.
Prepare the file
| Requirement | What to do |
|---|---|
| Format | CSV, Excel (.xlsx, .xls, .xlsm), JSON (.json, .jsonl) or XML (.xml). Choose the matching source card in the wizard. |
| Size | 10 MB or less per file. Split larger files into several datasets. |
| Header | CSV and Excel must have a header row. Use stable English field names such as product_id, title, price. |
| Rows | At least one data row. Empty files are rejected. |
| Encoding | UTF-8 is recommended. GBK CSV files are also parsed; keep one encoding per file. |
| Unique ID | Include an ID column and keep its values unique. This column becomes the dataset ID field; if duplicates exist, the later row wins. |
| Types | Keep one type per column. Do not mix numbers and text in the same column. |
| Secrets | Do not upload passwords, API keys or personal data that is not required for the dataset. |
Example header for a product catalog:
product_id,title,description,category,price,currency,material,color,width_cm,depth_cm,height_cm,stock_status,rating,delivery
Create the dataset from a file
- Open Data Integration → Apps and select + New App. Choose Free and select Create.
- On the app detail page, select Configure Data Source.
- Select the file type: CSV file, Excel file, JSON file or XML file.
- Drag the file into the upload area or select it from disk. Wait for parsing to finish.
- Check the preview: column names, row count, encoding and sample values. If a column is missing, fix the file and upload again.
- Select Next. The wizard lists every source column and its inferred type.
- Select Set as ID field on the column that uniquely identifies each record. For a product catalog, this is normally product_id.
- Review the mapping. Rename fields only if downstream products expect different names. Select Next to start the import.
- Wait for the app status to become Completed. Open Data Center → Datasets and check record count and preview.

What the preview checks
| Preview item | Why it matters |
|---|---|
| Header names | They become candidate field names. Spaces and punctuation are easier to fix before import. |
| Row count | Confirms the parser read all rows, not just the header. |
| Encoding | Garbled characters usually mean a mismatch between UTF-8 and GBK. |
| Empty columns | An all-empty column becomes an empty field; remove it from the file if it is not needed. |
| Duplicate IDs | Duplicates are allowed but the later row overwrites the earlier one. Check the count after import. |
Map fields and choose the ID
The mapping step converts source columns into dataset fields. The dataset field name is what Search, GEO, Recommendation and Insight use. Keep names descriptive and stable.
| Source column | Dataset field | Type | Role |
|---|---|---|---|
| product_id | product_id | String | ID field |
| title | title | String | Display name |
| description | description | String | Long text |
| category | category | String | Facet |
| price | price | Decimal | Numeric filter and sort |
| stock_status | stock_status | String | Availability filter |
| rating | rating | Decimal | Ranking signal |
If a column has mixed values such as 12.90 and contact for price, the inferred type may be String. Clean the column or split it into a numeric price and a separate note field.
After the import
The app detail page shows Completed, the dataset ID and package usage. Open the dataset to verify:
- Record count equals the number of unique rows in the file.
- Storage usage is below the package quota.
- Preview shows mapped fields and values, including the ID field.
- Last synced matches the import time.

Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| Upload rejected before preview | File is larger than 10 MB or the format does not match the selected card | Split the file or choose the correct file type. |
| Header shown as data | The first row is not a header | Add a header row and upload again. |
| Garbled Chinese characters | CSV encoding is not UTF-8 or GBK | Re-export as UTF-8 CSV and upload again. |
| Import completes with fewer rows | Rows with an empty ID were skipped; duplicate IDs collapse into one record | Fill the ID column and check the unique ID count, then create a new dataset. |
| ID field cannot be set | The selected column contains empty values | Use a complete, unique column. |
| Storage quota exceeded | Dataset is larger than remaining package storage | Delete an unused dataset or upgrade the package. |
Billing
The imported dataset consumes package storage based on stored records and fields. The Free package includes 2 GB in the current console. A failed import does not create a usable dataset; delete any partial dataset before retrying.
FAQ
Can I append rows to an existing file dataset?
No. File upload creates a new dataset for each successful import. To update records in place, use API push or MySQL sync.
Does the file need a fixed column order?
No. The wizard maps columns by header name. Keep the header row and use the same names across files if you plan to reuse a mapping.
Can I upload multiple files at once?
The wizard imports one file per app. Create one app per file, or combine the rows into one file under 10 MB.
What happens to the original file?
Tengence stores the parsed records in the dataset, not the original file. Keep your source file for audit and re-import.
Can I delete a dataset after import?
Yes. Delete it from Data Center when it is no longer bound to a product. Deleting releases its storage.
On this page
- When to use file upload
- Prepare the file
- Create the dataset from a file
- What the preview checks
- Map fields and choose the ID
- After the import
- Common errors
- Billing
- FAQ
- Can I append rows to an existing file dataset?
- Does the file need a fixed column order?
- Can I upload multiple files at once?
- What happens to the original file?
- Can I delete a dataset after import?