---
title: "Smarter Search With Graph Queries on Document Data"
url: https://daily.dev/posts/smarter-search-with-graph-queries-on-document-data-rh4o7bwiv
source_url: https://www.couchbase.com/blog/smarter-search-with-graph-queries-on-document-data/
type: article
source: "Couchbase"
published: 2026-01-12T23:20:17.184Z
updated: 2026-01-12T23:20:37.935Z
tags: ["database", "architecture", "sql", "nosql", "couchbase"]
reading_time: 5
upvotes: 1
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Smarter Search With Graph Queries on Document Data

**[Couchbase](https://daily.dev/sources/couchbase)** · 5 min read · 1 upvotes · 0 comments

## Summary

Couchbase introduces a native graph model that layers directly on top of its document store, allowing developers to query JSON data as a graph without data duplication or managing separate databases. The implementation extends SQL++ with CREATE GRAPH statements and MATCH clauses for pattern matching, rewriting graph queries into JOINs and recursive CTEs. This eliminates the traditional trade-off between document database flexibility and graph database relationship modeling, enabling use cases like fraud detection, recommendation engines, healthcare analytics, and supply chain tracking within a single platform.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.couchbase.com/blog/smarter-search-with-graph-queries-on-document-data/>

## Similar posts on daily.dev

- [Introducing BigQuery Graph](https://daily.dev/posts/introducing-bigquery-graph-tig40l393) · Google Cloud · 0 upvotes · 0 comments
- [Azure SQL Dev Corner](https://daily.dev/posts/azure-sql-dev-corner-yihqpgst9) · DevBlogs · 0 upvotes · 0 comments
- [Graph-Style Query vs. Join: When Your REST API Hits a Wall](https://daily.dev/posts/graph-style-query-vs-join-when-your-rest-api-hits-a-wall-e15hkvvoq) · Atomic Spin · 0 upvotes · 0 comments

---

Tags: [#database](https://daily.dev/tags/database), [#architecture](https://daily.dev/tags/architecture), [#sql](https://daily.dev/tags/sql), [#nosql](https://daily.dev/tags/nosql), [#couchbase](https://daily.dev/tags/couchbase)

[View this post on daily.dev](https://daily.dev/posts/smarter-search-with-graph-queries-on-document-data-rh4o7bwiv)
