diff --git a/docs/querying/content/_overview-csharp.mdx b/docs/querying/content/_overview-csharp.mdx index 8b4f2c445d..4f24545dd4 100644 --- a/docs/querying/content/_overview-csharp.mdx +++ b/docs/querying/content/_overview-csharp.mdx @@ -58,17 +58,16 @@ import Panel from '@site/src/components/Panel'; We differentiate between the following **3 query scenarios**: - 1. [Index query](../../querying/overview.mdx#indexquery) - 2. [Dynamic query](../../querying/overview.mdx#dynamicquery) - 3. [Full collection query](../../querying/overview.mdx#collectionquery) + 1. [Query an existing index](../../querying/overview.mdx#1-query-an-existing-index) + 2. [Query a collection - with filtering](../../querying/overview.mdx#2-query-a-collection---with-filtering) + 3. [Query a collection - query full collection | query by ID](../../querying/overview.mdx#3-query-a-collection---query-full-collection--query-by-id) For each scenario, a different index type is used, as described below. - - -**1. Query an existing index**: + +### 1. Query an existing index * **Query type**: Index query **Index used**: Static-index @@ -83,9 +82,8 @@ For each scenario, a different index type is used, as described below. - - -**2. Query a collection - with filtering**: + +### 2. Query a collection - with filtering * **Query type**: Dynamic Query **Index used**: Auto-index @@ -119,9 +117,8 @@ For each scenario, a different index type is used, as described below. - - -**3. Query a collection - query full collection | query by ID**: + +### 3. Query a collection - query full collection | query by ID * **Query type**: Full collection Query **Index used**: The raw collection (internal storage indexes) @@ -138,10 +135,11 @@ For each scenario, a different index type is used, as described below. * Query by document ID: - * When querying a collection only by document ID or IDs, + * When querying a collection filtering only by document ID or IDs, then similar to the full collection query, no auto-index is created. - * RavenDB uses the raw collection documents as the source for this query. + * On the server side, this type of query opens a single read transaction and extracts the documents directly from the raw collection storage. + No search engine index (Lucene or Corax) is involved in this process. * Example RQL:   `from Employees where id() == "employees/1-A"` See more examples [below](../../querying/overview.mdx#session-query). diff --git a/docs/querying/content/_overview-nodejs.mdx b/docs/querying/content/_overview-nodejs.mdx index da0654672f..9b6f36ebbd 100644 --- a/docs/querying/content/_overview-nodejs.mdx +++ b/docs/querying/content/_overview-nodejs.mdx @@ -55,9 +55,9 @@ import Panel from '@site/src/components/Panel'; We differentiate between the following **3 query scenarios**: -1. [Index query](../../querying/overview.mdx#indexquery) -2. [Dynamic query](../../querying/overview.mdx#dynamicquery) -3. [Full collection query](../../querying/overview.mdx#collectionquery) + 1. [Query an existing index](../../querying/overview.mdx#1-query-an-existing-index) + 2. [Query a collection - with filtering](../../querying/overview.mdx#2-query-a-collection---with-filtering) + 3. [Query a collection - query full collection | query by ID](../../querying/overview.mdx#3-query-a-collection---query-full-collection--query-by-id) For each scenario, a different index type is used, as described below. @@ -65,8 +65,7 @@ For each scenario, a different index type is used, as described below. - -**1. Query an existing index**: +### 1. Query an existing index * **Query type**: Index query **Index used**: Static-index @@ -83,8 +82,7 @@ For each scenario, a different index type is used, as described below. - -**2. Query a collection - with filtering (Dynamic Query)**: +### 2. Query a collection - with filtering * **Query type**: Dynamic Query **Index used**: Auto-index @@ -120,8 +118,7 @@ For each scenario, a different index type is used, as described below. - -**3. Query a collection - no filtering**: +### 3. Query a collection - query full collection | query by ID * **Query type**: Full collection Query **Index used**: The raw collection (internal storage indexes) @@ -138,10 +135,11 @@ For each scenario, a different index type is used, as described below. * Query by document ID: - * When querying a collection only by document ID or IDs, + * When querying a collection filtering only by document ID or IDs, then similar to the full collection query, no auto-index is created. - * RavenDB uses the raw collection documents as the source for this query. + * On the server side, this type of query opens a single read transaction and extracts the documents directly from the raw collection storage. + No search engine index (Lucene or Corax) is involved in this process. * Example RQL:   `from Employees where id() == "employees/1-A"` See more examples [below](../../querying/overview.mdx#session-query). diff --git a/docs/querying/content/_overview-php.mdx b/docs/querying/content/_overview-php.mdx index 181f410c73..c8979a4f25 100644 --- a/docs/querying/content/_overview-php.mdx +++ b/docs/querying/content/_overview-php.mdx @@ -60,17 +60,16 @@ import Panel from '@site/src/components/Panel'; We differentiate between the following **3 query scenarios**: -1. [Index query](../../querying/overview.mdx#indexquery) -2. [Dynamic query](../../querying/overview.mdx#dynamicquery) -3. [Full collection query](../../querying/overview.mdx#collectionquery) + 1. [Query an existing index](../../querying/overview.mdx#1-query-an-existing-index) + 2. [Query a collection - with filtering](../../querying/overview.mdx#2-query-a-collection---with-filtering) + 3. [Query a collection - query full collection | query by ID](../../querying/overview.mdx#3-query-a-collection---query-full-collection--query-by-id) For each scenario, a different index type is used, as described below. - -**1. Query an existing index**: +### 1. Query an existing index * **Query type**: Index query **Index used**: Static-index @@ -86,8 +85,7 @@ For each scenario, a different index type is used, as described below. - -**2. Query a collection - with filtering**: +### 2. Query a collection - with filtering * **Query type**: Dynamic Query **Index used**: Auto-index @@ -123,8 +121,7 @@ For each scenario, a different index type is used, as described below. - -**3. Query a collection - query full collection | query by ID**: +### 3. Query a collection - query full collection | query by ID * **Query type**: Full collection Query **Index used**: The raw collection (internal storage indexes) @@ -141,10 +138,11 @@ For each scenario, a different index type is used, as described below. * Query by document ID: - * When querying a collection only by document ID or IDs, + * When querying a collection filtering only by document ID or IDs, then similar to the full collection query, no auto-index is created. - * RavenDB uses the raw collection documents as the source for this query. + * On the server side, this type of query opens a single read transaction and extracts the documents directly from the raw collection storage. + No search engine index (Lucene or Corax) is involved in this process. * Example RQL:   `from Employees where id() == "employees/1-A"` See more examples [below](../../querying/overview.mdx#session-query). diff --git a/docs/querying/content/_overview-python.mdx b/docs/querying/content/_overview-python.mdx index 89f516d349..503b6ea006 100644 --- a/docs/querying/content/_overview-python.mdx +++ b/docs/querying/content/_overview-python.mdx @@ -58,17 +58,16 @@ import Panel from '@site/src/components/Panel'; We differentiate between the following **3 query scenarios**: -1. [Index query](../../querying/overview.mdx#indexquery) -2. [Dynamic query](../../querying/overview.mdx#dynamicquery) -3. [Full collection query](../../querying/overview.mdx#collectionquery) + 1. [Query an existing index](../../querying/overview.mdx#1-query-an-existing-index) + 2. [Query a collection - with filtering](../../querying/overview.mdx#2-query-a-collection---with-filtering) + 3. [Query a collection - query full collection | query by ID](../../querying/overview.mdx#3-query-a-collection---query-full-collection--query-by-id) For each scenario, a different index type is used, as described below. - -**1. Query an existing index**: +### 1. Query an existing index * **Query type**: Index query **Index used**: Static-index @@ -84,8 +83,7 @@ For each scenario, a different index type is used, as described below. - -**2. Query a collection - with filtering**: +### 2. Query a collection - with filtering * **Query type**: Dynamic Query **Index used**: Auto-index @@ -120,8 +118,7 @@ For each scenario, a different index type is used, as described below. - -**3. Query a collection - query full collection | query by ID**: +### 3. Query a collection - query full collection | query by ID * **Query type**: Full collection Query **Index used**: The raw collection (internal storage indexes) @@ -138,10 +135,11 @@ For each scenario, a different index type is used, as described below. * Query by document ID: - * When querying a collection only by document ID or IDs, + * When querying a collection filtering only by document ID or IDs, then similar to the full collection query, no auto-index is created. - * RavenDB uses the raw collection documents as the source for this query. + * On the server side, this type of query opens a single read transaction and extracts the documents directly from the raw collection storage. + No search engine index (Lucene or Corax) is involved in this process. * Example RQL:   `from Employees where id() == "employees/1-A"` See more examples [below](../../querying/overview.mdx#session-query).