惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
大猫的无限游戏
大猫的无限游戏
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 叶小钗
月光博客
月光博客
Last Week in AI
Last Week in AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
人人都是产品经理
人人都是产品经理
阮一峰的网络日志
阮一峰的网络日志
罗磊的独立博客
IT之家
IT之家
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
S
SegmentFault 最新的问题
宝玉的分享
宝玉的分享
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
博客园 - 司徒正美
爱范儿
爱范儿

Pinecone

Pinecone Assistant: A Managed Knowledge Layer for Production AI Applications Multi-domain RAG in n8n: why one knowledge base is not enough Allspice Transforms the Culinary Experience with Semantic Search Powered by Pinecone | Pinecone Building RAG workflows in n8n: choosing the right Pinecone node Knowledge needs a meta-knowledge layer Garbage Day: How Pinecone Safely Deletes Billions of Objects at Scale When "Performance" Means Two Different Things Pinecone BYOC: Pinecone in your AWS, GCP, or Azure account, no vendor access True, Relevant, and Wrong: The Applicability Problem in RAG Use the Pinecone Plugin for Claude Code to develop AI Applications Faster Millions at Stake: How Melange's High-Recall Retrieval Prevents Litigation Collapse Powering High-stakes Patent Search at Scale: How Melange Built a Reliable AI System on Pinecone | Pinecone Pinecone Assistant Node in n8n: Turn Any Data Source Into Knowledge RAG with Access Control Pinecone Dedicated Read Nodes are now in Public Preview Inside Pinecone: Slab Architecture The Hidden Cost of Building: Lessons from Aquant Simplifying Vector Embeddings with Pinecone Integrated Inference Capabilities Pinecone joins Microsoft Marketplace as a Launch Partner GTM Engineering: Clay + Pinecone for AI-powered Sales Outbound Build an AI knowledge assistant with Google Docs and Pinecone Moving Pinecone forward with Ash Ashutosh as CEO and Edo spearheading our growing AI ambitions as Chief Scientist Pinecone Founder Edo Liberty to Spearhead Pinecone’s Growing AI Ambitions; Appoints Ash Ashutosh as CEO to Expand Vector Database Market Leadership Fast, Accurate Retrieval for Creators at Scale: Delphi’s Path Toward a Million Conversational Agents with Pinecone | Pinecone Announcing Pinecone Pioneers: A Program for Builders, Organizers, and Community Leaders What is Context Engineering? Chunking Strategies for LLM Applications Beyond the hype: Why RAG remains essential for modern AI Obviant Makes 30% More Accurate Defense Acquisition Recommendations Combining Sparse and Dense Retrieval with Pinecone | Pinecone Build more knowledgeable AI applications with new LLMs and greater control in Pinecone Assistant
New Bulk Data Operations: Update, Delete, and Fetch by Me...
Lea Wang-Tomic, Gavin Johnson · 2025-10-30 · via Pinecone

Today, we’re announcing the addition of three bulk data operations to Pinecone Database: Update by Metadata, Delete by Metadata, and Fetch by Metadata. Instead of collecting record IDs first, you can target any subset of data using the same filter syntax you use in queries, making everyday tasks such as bulk updates, data purges, and selective fetches simpler and more efficient.

As data scales, metadata becomes essential for enabling functionality and maintaining performance. A recommendation isn’t very good if you can’t filter down to the specific data that’s relevant to the user, and the ability to filter your data accurately and efficiently is almost always reliant on metadata. A single attribute, such as , , or , can identify the exact corpus of relevant records precisely in a much easier way than collecting vector IDs. Update, delete, and fetch by metadata bring scalability to data management, allowing you to modify or retrieve millions of records accurately and efficiently using the metadata you already maintain.

Manage Your Data by Metadata

The new operations leverage the same familiar filter syntax used in metadata-based queries. You define a filter based on your record’s metadata and pass it directly to the , , or methods.

Pinecone then performs the requested action on all records matching the filter, making bulk data operations incredibly easy and efficient, even if you’re modifying millions of records at once.

Common Use Cases

Filtering by metadata allows you to target subsets of data based on attributes. As your data scales, this becomes a very effective way to organize and manage your data. These new operations – update, delete, and fetch by metadata – are designed for common data management scenarios, including:

  • Bulk Updates: Replace multi-step update scripts with a single command. Instantly backfill new embeddings by targeting metadata like model_version: "" without fetching IDs first.
  • Data Purges: Honor Right to be Forgotten requests (GDPR) with one API or SDK call. Reliably purge all data for a specific to ensure compliance, simplifying an increasingly common and important operation.
  • Selective Fetches: Stop over-fetching. Retrieve specific subsets of vectors, such as those matching a , with a single filtered fetch. This means smaller payloads, lower latency, and more accurate fetches.
  • Data Cleanup: Easily prune stale records. A single command can delete all data from a deprecated source or a finished A/B test by filtering on metadata like source: "", making index cleanup fast and scriptable.

Getting Started

Integrating these new operations into your existing pipeline is simple. Since they use the same filter syntax as queries, there’s no new query language to learn.

Here’s a quick example of how to use update, delete, and fetch by metadata:

# pip install "pinecone"
from pinecone.grpc import PineconeGRPC as Pinecone

pc = Pinecone(api_key="YOUR_API_KEY")

# Get the unique host for an index
index = pc.Index(host="INDEX_HOST")

# Delete records from your index by metadata
index.delete(
    namespace="example-namespace",
    filter={
        "genre": {"$eq": "documentary"}
    }
)

Note: update and fetch are not fully launched for General Availability yet and require direct API calls with specific version headers (and respectively). They don't yet have Python SDK support.

# To get the unique host for an index,
# see https://docs.pinecone.io/guides/manage-data/target-an-index
PINECONE_API_KEY="YOUR_API_KEY"
INDEX_HOST="INDEX_HOST"

# Update by metadata
curl "https://$INDEX_HOST/vectors/update" \
    -H "Api-Key: $PINECONE_API_KEY" \
    -H 'Content-Type: application/json' \
    -H "X-Pinecone-API-Version: unstable" \
    -d '{
            "dry_run": true,
            "namespace": "example-namespace",
            "filter": {
                "document_title": {"$eq": "Introduction to Vector Databases"}
            },
            "setMetadata": {
                "author": "Del Klein"
            } 
        }'


# Fetch by Metadata 
curl -X POST "https://$INDEX_HOST/vectors/fetch_by_metadata" \
  -H 'Api-Key: $PINECONE_API_KEY' \
  -H 'Content-Type: application/json' \
  -H "X-Pinecone-API-Version: 2025-10" \
  -d '{
    "namespace": "example-namespace",
    "filter": {"rating": {"$lt": 5}},
    "limit": 2
  }'

Our New by Metadata Operations Today

Update, delete, and fetch by metadata bring a new level of scalability and efficiency to your data management. It isn’t just a quality-of-life improvement; it’s a fundamental enhancement to how you can interact with and control your data at scale.

Delete by metadata is generally available, update by metadata is available in public preview, and fetch by metadata is available in early access (i.e., we will be adding additional functionality to fetch, including pagination, in the upcoming months).

Read the update, delete, and fetch by metadata documentation for more information on how to get started with each.