{"id":10245,"date":"2023-06-23T01:43:43","date_gmt":"2023-06-23T08:43:43","guid":{"rendered":"https:\/\/www.couchbase.com\/developers\/tutorials\/operators-guide\/"},"modified":"2023-06-23T01:43:43","modified_gmt":"2023-06-23T08:43:43","slug":"operators-guide","status":"publish","type":"tutorials","link":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/operators-guide\/","title":{"rendered":"Operators Guide"},"content":{"rendered":"<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th align=\"left\">#operator<\/th>\n<th align=\"left\">Utilizzo<\/th>\n<th align=\"left\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"left\">PrimaryScan<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">Scans a primary index v1 (Pre CB 5.50)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">PrimaryScan3<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">Scans a primary index v2 (CB 5.50+)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">ParentScan<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">Used for <code>UNNEST<\/code>. Treats the parent object as the result of a scan.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">IndexScan<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">Scans a secondary index v1 (CB pre 5.0)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">IndexScan2<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">Scans a secondary index v2 (CB 5.0)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">IndexScan3<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">Scans a secondary index v3 (CB 5.50+)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">KeyScan<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">Does not perform a scan. Directly treats the provided keys as a scan.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">ValueScan<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">Used for the VALUES clause of <code>INSERT<\/code> e <code>UPSERT<\/code> statements. Treats the provided values as the result of a scan.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">DummyScan<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">Used for <code>SELECT<\/code>s with no <code>FROM<\/code> clause. Provides a single empty object as the result of a scan.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">CountScan<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">Used when the query has no predicate i.e. <code>SELECT COUNT(*) FROM bucket-name<\/code>. Treats the bucket size as the result of a scan, without actually performing a full scan of the bucket.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">IndexCountScan<\/td>\n<td align=\"left\">Used when the query has predicates and the predicate can be pushed to the indexer. Count is performed by Indexer. (v1 Pre CB 5.0)<\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">IndexCountScan2<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">Used when the query has predicates and the predicate can be pushed to the indexer. Count is performed by Indexer. (v2 CB 5.0)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">IndexCountDistinctScan2<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">Used when the query has predicates and the predicate can be pushed to the indexer. Count of Distinct values is performed by Indexer. (v2 CB 5.0)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">IntersectScan<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">A container that scans its child scanners and intersects the results. Used for scanning multiple secondary indexes concurrently for a single query. Intersect of document keys are done<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">OrderedIntersectScan<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">Same as IntersectScan, First scan in the order is maintained (First Scan Index order is exposed becaue it matches query <code>ORDER BY<\/code>)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">UnionScan<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\"><code>OR<\/code> predicate can use multiple indexes. Each Index perform IndexScan document keys are merged as <code>UNION<\/code><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">DistinctScan<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">Eliminates Duplicate document keys (Indexer can produce duplicate document keys. Array Indexing, Overlap <code>OR<\/code> clauses)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">ExpressionScan<\/td>\n<td align=\"left\">Scan<\/td>\n<td align=\"left\">Source (<code>FROM<\/code> clause) is not a key space. It is Expression. Expression Scan will be performed from the in memory data.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Fetch<\/td>\n<td align=\"left\">Fetch<\/td>\n<td align=\"left\">Obtain documents from the data service based on a key<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">DummyFetch<\/td>\n<td align=\"left\">Fetch<\/td>\n<td align=\"left\">No Fetch Operations performed. Act like dummy fetch<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Join<\/td>\n<td align=\"left\">Join<\/td>\n<td align=\"left\">Used for Look-up Join. <code>a JOIN b ON KEYS<\/code><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">IndexJoin<\/td>\n<td align=\"left\">Join<\/td>\n<td align=\"left\">Used for Index Join. <code>a JOIN b ON KEY b.xxx FOR a<\/code><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">NestedLoopJoin<\/td>\n<td align=\"left\">Join<\/td>\n<td align=\"left\">ANSI JOIN (<code>a JOIN b ON a.xx = b.yy<\/code>). The Join is performed nested loop every row of a, index scan\/fetch is performed on b<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">HashJoin<\/td>\n<td align=\"left\">Join<\/td>\n<td align=\"left\">ANSI JOIN (<code>a JOIN b ON a.xx = b.yy<\/code>). The Join is performed Hash JOIN, In memory hash table will be constructed on a or b. Then a or b scanned\/fetched and look up done in memory hash table<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Nest<\/td>\n<td align=\"left\">Join<\/td>\n<td align=\"left\">Join operation between a parent and a child with a nested array where parent is repeated for each child array item. Same as Join (<code>a NEST b ON KEYS a.xxx<\/code>)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">IndexNest<\/td>\n<td align=\"left\">Join<\/td>\n<td align=\"left\">Same as Index JOIN (<code>a NEST b ON KEY b.xxx FOR a<\/code>)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">NestedLoopNest<\/td>\n<td align=\"left\">Join<\/td>\n<td align=\"left\">Same as Nested LOOP JOIN (<code>a NEST b ON a.xx = b.yy<\/code>)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">HashNest<\/td>\n<td align=\"left\">Join<\/td>\n<td align=\"left\">Same as Hash JOIN (<code>a NEST b ON a.xx = b.yy<\/code>)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Unnest<\/td>\n<td align=\"left\">Join<\/td>\n<td align=\"left\">Grouping operation between a parent and a child array where child array is embedded into the parent.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Let<\/td>\n<td align=\"left\">Let + Letting<\/td>\n<td align=\"left\">Let and Letting variables evaluation<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">InferKeyspace<\/td>\n<td align=\"left\">Infer<\/td>\n<td align=\"left\">INFER statement<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Filter<\/td>\n<td align=\"left\">Filter<\/td>\n<td align=\"left\">Apply a filter expression e.g. <code>WHERE X=&lt;value&gt;<\/code><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">InitialGroup<\/td>\n<td align=\"left\">Group<\/td>\n<td align=\"left\">Initial phase. (Can be executed in parallel with IntermediateGroup)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">IntermediateGroup<\/td>\n<td align=\"left\">Group<\/td>\n<td align=\"left\">Cumulate intermediate results. This phase can be chained.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">FinalGroup<\/td>\n<td align=\"left\">Group<\/td>\n<td align=\"left\">Compute final aggregate results.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">InitialProject<\/td>\n<td align=\"left\">Project<\/td>\n<td align=\"left\">Reduce the stream size to the fields involved in the query processing<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">FinalProject<\/td>\n<td align=\"left\">Project<\/td>\n<td align=\"left\">Final Shaping of the result into the JSON for the requested fields<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">IndexCountProject<\/td>\n<td align=\"left\">Project<\/td>\n<td align=\"left\">Project the output of IndexCountScan2 IndexCountDistinctScan2 operators<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Distinct<\/td>\n<td align=\"left\">Distinct<\/td>\n<td align=\"left\">Indicates that duplicates are being filtered from the result.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">UnionAll<\/td>\n<td align=\"left\">Set Operator<\/td>\n<td align=\"left\">Combine the results of two queries. For <code>UNION<\/code>, we perform <code>UNION ALL<\/code> followed by DISTINCT.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">IntersectAll<\/td>\n<td align=\"left\">Set Operator<\/td>\n<td align=\"left\">Intersect all of the result objects<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">ExceptAll<\/td>\n<td align=\"left\">Set Operator<\/td>\n<td align=\"left\">Except all of the result objects ( i.e Present on LEFT side query but not present on right side query)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Ordine<\/td>\n<td align=\"left\">Ordine<\/td>\n<td align=\"left\">Orders the results based on 1 or more keys ASC or DESC<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Offset<\/td>\n<td align=\"left\">Paging<\/td>\n<td align=\"left\">Start returning items from a specified item count<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Limit<\/td>\n<td align=\"left\">Paging<\/td>\n<td align=\"left\">Limit the number of items returned to N<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">SendInsert<\/td>\n<td align=\"left\">Insert<\/td>\n<td align=\"left\">When an insert statement is explained<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">SendUpsert<\/td>\n<td align=\"left\">Upsert<\/td>\n<td align=\"left\">When an upsert statement is explained<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">SendDelete<\/td>\n<td align=\"left\">Delete<\/td>\n<td align=\"left\">When a delete statement is explained<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Clone<\/td>\n<td align=\"left\">Update<\/td>\n<td align=\"left\">Used for UPDATE. Clones data values so that UPDATEs read original values and mutate a clone.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Set<\/td>\n<td align=\"left\">Update<\/td>\n<td align=\"left\">Used for UPDATE<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Unset<\/td>\n<td align=\"left\">Update<\/td>\n<td align=\"left\">Used for UPDATE<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">SendUpdate<\/td>\n<td align=\"left\">Update<\/td>\n<td align=\"left\">When an update statement is explained<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Merge<\/td>\n<td align=\"left\">Merge<\/td>\n<td align=\"left\">Merge Statement<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Alias<\/td>\n<td align=\"left\">Framework<\/td>\n<td align=\"left\">Alias of Keyspace<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Authorize<\/td>\n<td align=\"left\">Framework<\/td>\n<td align=\"left\">Privilege validation (i.e permission RBAC validation on all objects in the query)<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Parallel<\/td>\n<td align=\"left\">Framework<\/td>\n<td align=\"left\">A container that executes multiple copies of its child operator in parallel. Used for all data-parallelism.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Sequence<\/td>\n<td align=\"left\">Framework<\/td>\n<td align=\"left\">A container that chains its children into a sequence. Used for all execution pipelining.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Discard<\/td>\n<td align=\"left\">Framework<\/td>\n<td align=\"left\">Discard results<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Stream<\/td>\n<td align=\"left\">Framework<\/td>\n<td align=\"left\">Stream results out. Used for returning results.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Collect<\/td>\n<td align=\"left\">Framework<\/td>\n<td align=\"left\">Collect results into an array. Used for subqueries.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">CreatePrimaryIndex<\/td>\n<td align=\"left\">Index DDL<\/td>\n<td align=\"left\">When a <code>Create PRIMARY INDEX<\/code> statement is explained<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">CreateIndex<\/td>\n<td align=\"left\">Index DDL<\/td>\n<td align=\"left\">When a <code>CREATE INDEX<\/code> statement is explained<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">DropIndex<\/td>\n<td align=\"left\">Index DDL<\/td>\n<td align=\"left\">When a <code>DROP INDEX<\/code> statement is explained<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">AlterIndex<\/td>\n<td align=\"left\">Index DDL<\/td>\n<td align=\"left\">When a <code>ALTER INDEX<\/code> statement is explained<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">BuildIndexes<\/td>\n<td align=\"left\">Index DDL<\/td>\n<td align=\"left\">When a <code>BUILD INDEX<\/code> statement is explained<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">GrantRole<\/td>\n<td align=\"left\">Roles<\/td>\n<td align=\"left\">GRANT statement<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">RevokeRole<\/td>\n<td align=\"left\">Roles<\/td>\n<td align=\"left\">Revoke Statement<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Explain<\/td>\n<td align=\"left\">Explain<\/td>\n<td align=\"left\">EXPLAIN statement<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Prepare<\/td>\n<td align=\"left\">Prepare<\/td>\n<td align=\"left\">Prepare Statement<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<h3 id=\"h-resources\" class=\"wp-block-heading\">Risorse<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/blog.couchbase.com\/wp-content\/uploads\/2017\/10\/N1QL-A-Practical-Guide-2nd-Edition.pdf\">N1QL: A Practical Guide (2nd Edition)<\/a><\/li>\n\n\n<li><a href=\"https:\/\/blog.couchbase.com\/wp-content\/uploads\/2018\/04\/COU_261-Couchbase-5.5-N1QL-Booklet-WEB.pdf\">A Guide to N1QL in Couchbase 5.5<\/a><\/li>\n\n\n<li><a href=\"https:\/\/docs.couchbase.com\/server\/6.0\/learn\/services-and-indexes\/indexes\/index-scans.html\">Index Scans<\/a><\/li>\n\n\n<li><a href=\"https:\/\/docs.couchbase.com\/server\/6.0\/manage\/monitor\/monitoring-n1ql-query.html\">N1QL Monitoring<\/a><\/li>\n\n\n<li><a href=\"https:\/\/dzone.com\/articles\/a-deep-dive-into-couchbase-n1ql-query-optimization\">Deep Dive into Couchbase N1QL Query Optimization<\/a><\/li>\n\n\n<li><a href=\"https:\/\/blog.couchbase.com\/optimize-n1ql-performance-using-request-profiling\/\">Optimize N1QL Performance using Request Profiling<\/a><\/li>\n\n\n<li><a href=\"https:\/\/blog.couchbase.com\/understanding-index-grouping-aggregation-couchbase-n1ql-query\/\">Grouping and Aggregation in Couchbase<\/a><\/li>\n\n\n<li><a href=\"http:\/\/www.vldb.org\/pvldb\/vol9\/p1413-lakshman.pdf\">Nitro: A Fast, Scalable In-Memory Storage Engine for NoSQL Global Secondary Index<\/a><\/li>\n\n\n<li><a href=\"https:\/\/query-tutorial.couchbase.com\/tutorial\/#8\">Query Tutorial<\/a><\/li>\n\n\n<li><a href=\"https:\/\/training.couchbase.com\/online\">Couchbase Training Online &#8211; N1QL<\/a><\/li>\n\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>#operator Usage Description PrimaryScan Scan Scans a primary index v1 (Pre CB 5.50) PrimaryScan3 Scan Scans a primary index v2 (CB 5.50+) ParentScan Scan Used for UNNEST. Treats the parent object as the result of a scan. IndexScan Scan Scans a secondary index v1 (CB pre 5.0) IndexScan2 Scan Scans a secondary index v2 (CB [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"menu_order":0,"template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"_acf":"","footnotes":""},"tutorial-languages":[551],"tutorial-tags":[575,574],"tutorial-technologies":[549,554],"tutorial-types":[555],"class_list":["post-10245","tutorials","type-tutorials","status-publish","hentry","tutorial-languages-any","tutorial-tags-optimization","tutorial-tags-sql-n1ql","tutorial-technologies-query","tutorial-technologies-server","tutorial-types-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Operators Guide - Couchbase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/operators-guide\/\" \/>\n<meta property=\"og:locale\" content=\"it_IT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Operators Guide\" \/>\n<meta property=\"og:description\" content=\"#operator Usage Description PrimaryScan Scan Scans a primary index v1 (Pre CB 5.50) PrimaryScan3 Scan Scans a primary index v2 (CB 5.50+) ParentScan Scan Used for UNNEST. Treats the parent object as the result of a scan. IndexScan Scan Scans a secondary index v1 (CB pre 5.0) IndexScan2 Scan Scans a secondary index v2 (CB [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/operators-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Couchbase\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Couchbase\/\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/10\/Cloud-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2548\" \/>\n\t<meta property=\"og:image:height\" content=\"1171\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@couchbase\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minuti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/operators-guide\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/operators-guide\\\/\",\"name\":\"Operators Guide - Couchbase\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#website\"},\"datePublished\":\"2023-06-23T08:43:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/operators-guide\\\/#breadcrumb\"},\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/operators-guide\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/operators-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.couchbase.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Operators Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#website\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/\",\"name\":\"Couchbase\",\"description\":\"The Operational Data Platform for AI\u2122\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#organization\"},\"alternateName\":\"Couchbase, Inc.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"it-IT\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#organization\",\"name\":\"Couchbase\",\"alternateName\":\"Couchbase, Inc.\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Couchbase_Logo_Couchbase_Token_Red-1.png\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Couchbase_Logo_Couchbase_Token_Red-1.png\",\"width\":1129,\"height\":1129,\"caption\":\"Couchbase\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Couchbase\\\/\",\"https:\\\/\\\/x.com\\\/couchbase\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/CouchbaseServer\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/couchbase\\\/\",\"https:\\\/\\\/github.com\\\/couchbase\\\/\",\"https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Couchbase,_Inc.\"],\"description\":\"Couchbase is a database software company headquartered in San Jose, California, providing an operational data platform for AI used by hundreds of global enterprises.\",\"legalName\":\"Couchbase, Inc.\",\"foundingDate\":\"2011-01-01\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Operators Guide - Couchbase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/operators-guide\/","og_locale":"it_IT","og_type":"article","og_title":"Operators Guide","og_description":"#operator Usage Description PrimaryScan Scan Scans a primary index v1 (Pre CB 5.50) PrimaryScan3 Scan Scans a primary index v2 (CB 5.50+) ParentScan Scan Used for UNNEST. Treats the parent object as the result of a scan. IndexScan Scan Scans a secondary index v1 (CB pre 5.0) IndexScan2 Scan Scans a secondary index v2 (CB [&hellip;]","og_url":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/operators-guide\/","og_site_name":"Couchbase","article_publisher":"https:\/\/www.facebook.com\/Couchbase\/","og_image":[{"width":2548,"height":1171,"url":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/10\/Cloud-2.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@couchbase","twitter_misc":{"Est. reading time":"5 minuti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/operators-guide\/","url":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/operators-guide\/","name":"Operators Guide - Couchbase","isPartOf":{"@id":"https:\/\/www.couchbase.com\/it\/#website"},"datePublished":"2023-06-23T08:43:43+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/operators-guide\/#breadcrumb"},"inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/it\/developers\/tutorials\/operators-guide\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/operators-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/"},{"@type":"ListItem","position":2,"name":"Operators Guide"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/it\/#website","url":"https:\/\/www.couchbase.com\/it\/","name":"Couchbase","description":"The Operational Data Platform for AI\u2122","publisher":{"@id":"https:\/\/www.couchbase.com\/it\/#organization"},"alternateName":"Couchbase, Inc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/it\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"it-IT"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/it\/#organization","name":"Couchbase","alternateName":"Couchbase, Inc.","url":"https:\/\/www.couchbase.com\/it\/","logo":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/www.couchbase.com\/it\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/11\/Couchbase_Logo_Couchbase_Token_Red-1.png","contentUrl":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/11\/Couchbase_Logo_Couchbase_Token_Red-1.png","width":1129,"height":1129,"caption":"Couchbase"},"image":{"@id":"https:\/\/www.couchbase.com\/it\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Couchbase\/","https:\/\/x.com\/couchbase","https:\/\/www.youtube.com\/c\/CouchbaseServer","https:\/\/www.linkedin.com\/company\/couchbase\/","https:\/\/github.com\/couchbase\/","https:\/\/en.wikipedia.org\/wiki\/Couchbase,_Inc."],"description":"Couchbase \u00e8 una societ\u00e0 di software per database con sede a San Jose, in California, che fornisce una piattaforma operativa per i dati utilizzata da centinaia di aziende globali.","legalName":"Couchbase, Inc.","foundingDate":"2011-01-01"}]}},"acf":[],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorials\/10245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorials"}],"about":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/types\/tutorials"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorials\/10245\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/media?parent=10245"}],"wp:term":[{"taxonomy":"tutorial-languages","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-languages?post=10245"},{"taxonomy":"tutorial-tags","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-tags?post=10245"},{"taxonomy":"tutorial-technologies","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-technologies?post=10245"},{"taxonomy":"tutorial-types","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-types?post=10245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}