Skip to content

[Backport v3.3] DOCSP-51782 - Post-CC quick fixes #656

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ last-version-2-number = "2.30"
version = "v{+version-number+}"
example = "https://raw.githubusercontent.com/mongodb/docs-csharp/{+docs-branch+}/source/includes/code-examples"
stable-api = "Stable API"
api-root = "https://mongodb.github.io/mongo-csharp-driver/{+version-number+}/html"
new-api-root = "https://mongodb.github.io/mongo-csharp-driver/{+version-number+}.0/api"
api-root = "https://mongodb.github.io/mongo-csharp-driver/{+version-number+}.0/api"
bool-data-type = "``boolean``"
string-data-type = "``string``"
int-data-type = "``integer``"
Expand Down
2 changes: 1 addition & 1 deletion source/aggregation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ performing aggregation operations:
of 16 megabytes.

- Pipeline stages have a memory limit of 100 megabytes by default. If required, you can exceed this limit by setting
the `AllowDiskUse <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.AllowDiskUse.html#MongoDB_Driver_AggregateOptions_AllowDiskUse>`__
the `AllowDiskUse <{+api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.AllowDiskUse.html#MongoDB_Driver_AggregateOptions_AllowDiskUse>`__
property of the ``AggregateOptions`` object that you pass to the ``Aggregate()`` method.

Troubleshooting
Expand Down
8 changes: 4 additions & 4 deletions source/aggregation/linq.txt
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ documents from the ``restaurants`` collection where the ``RestaurantName`` field
The preceding example returns a list of ``LookupResult`` objects that
each contain a joined document. To learn more about the ``LookupResult`` class,
see the `LookupResult API documentation
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.LookupResult-2.html>`__.
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.LookupResult-2.html>`__.

You can also use a ``Lookup()`` method overload to specify additional criteria
for the join. The following example joins documents from the ``restaurants``
Expand All @@ -671,7 +671,7 @@ field in the ``restaurants`` collection and the ``ReviewText`` field in the
.Where(review => review.ReviewText.Contains(restaurant.Name)));

To view a full list of overloads for the ``Lookup()`` method, see the `Lookup
API documentation <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.Lookup.html>`__.
API documentation <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.Lookup.html>`__.

GroupJoin()
+++++++++++
Expand Down Expand Up @@ -1164,6 +1164,6 @@ API Documentation

For a complete list of supported LINQ methods, see the following API documentation:

- `LINQ <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.html>`__
- `LINQ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.html>`__
- `MongoQueryable
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.html>`__
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.html>`__
10 changes: 5 additions & 5 deletions source/aggregation/stages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,9 @@ To learn more about creating pipeline stages, see
For more information about the methods and classes used on this page, see the
following API documentation:

- `Aggregate() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollection-1.Aggregate.html>`__
- `AggregateOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.html>`__
- `EmptyPipelineDefinition<TDocument> <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.EmptyPipelineDefinition-1.-ctor.html>`__
- `BsonDocument <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.BsonDocument.html>`__
- `Aggregate() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollection-1.Aggregate.html>`__
- `AggregateOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.html>`__
- `EmptyPipelineDefinition<TDocument> <{+api-root+}/MongoDB.Driver/MongoDB.Driver.EmptyPipelineDefinition-1.-ctor.html>`__
- `BsonDocument <{+api-root+}/MongoDB.Bson/MongoDB.Bson.BsonDocument.html>`__
- `PipelineDefinitionBuilder.AppendStage()
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineDefinitionBuilder.AppendStage.html>`__
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineDefinitionBuilder.AppendStage.html>`__
8 changes: 4 additions & 4 deletions source/atlas-search.txt
Original file line number Diff line number Diff line change
Expand Up @@ -817,13 +817,13 @@ The ``SearchOptions`` class contains the following properties:
* - ``CountOptions``
- | The options for counting the search results.

| **Data type**: `SearchCountOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Search.SearchCountOptions.html>`__
| **Data type**: `SearchCountOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Search.SearchCountOptions.html>`__
| **Default**: ``null``

* - ``Highlight``
- | The options for displaying search terms in their original context.

| **Data type**: `SearchHighlightOptions<TDocument> <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Search.SearchHighlightOptions-1.html>`__
| **Data type**: `SearchHighlightOptions<TDocument> <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Search.SearchHighlightOptions-1.html>`__
| **Default**: ``null``

* - ``IndexName``
Expand Down Expand Up @@ -864,13 +864,13 @@ The ``SearchOptions`` class contains the following properties:
* - ``Sort``
- | The sorting criteria to apply to the results.

| **Data type**: `SortDefinition<TDocument> <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.SortDefinition-1.html>`__
| **Data type**: `SortDefinition<TDocument> <{+api-root+}/MongoDB.Driver/MongoDB.Driver.SortDefinition-1.html>`__
| **Default**: ``null``

* - ``Tracking``
- | The options for tracking search terms.

| **Data type**: `SearchTrackingOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Search.SearchTrackingOptions.html>`__
| **Data type**: `SearchTrackingOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Search.SearchTrackingOptions.html>`__
| **Default**: ``null``

SearchAfter Example
Expand Down
18 changes: 9 additions & 9 deletions source/atlas-vector-search.txt
Original file line number Diff line number Diff line change
Expand Up @@ -261,14 +261,14 @@ API Documentation
To learn more about any of the functions or types discussed in this
guide, see the following API Documentation:

- `BinaryVectorFloat32 <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.BinaryVectorFloat32.html>`__
- `BinaryVectorInt8 <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.BinaryVectorInt8.html>`__
- `BinaryVectorPackedBit <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.BinaryVectorPackedBit.html>`__
- `QueryVector <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.QueryVector.html>`__
- `ToQueryVector() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.BinaryVectorDriverExtensions.ToQueryVector.html>`__
- `IAggregateFluentExtensions.VectorSearch() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IAggregateFluentExtensions.VectorSearch.html>`__
- `BinaryVectorFloat32 <{+api-root+}/MongoDB.Bson/MongoDB.Bson.BinaryVectorFloat32.html>`__
- `BinaryVectorInt8 <{+api-root+}/MongoDB.Bson/MongoDB.Bson.BinaryVectorInt8.html>`__
- `BinaryVectorPackedBit <{+api-root+}/MongoDB.Bson/MongoDB.Bson.BinaryVectorPackedBit.html>`__
- `QueryVector <{+api-root+}/MongoDB.Driver/MongoDB.Driver.QueryVector.html>`__
- `ToQueryVector() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.BinaryVectorDriverExtensions.ToQueryVector.html>`__
- `IAggregateFluentExtensions.VectorSearch() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IAggregateFluentExtensions.VectorSearch.html>`__
- `Aggregate()
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollectionExtensions.Aggregate.html>`__
- `MongoQueryable.VectorSearch() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.VectorSearch.html>`__
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollectionExtensions.Aggregate.html>`__
- `MongoQueryable.VectorSearch() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.VectorSearch.html>`__
- `PipelineStageDefinitionBuilder.VectorSearch()
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.VectorSearch.html>`__
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.VectorSearch.html>`__
42 changes: 21 additions & 21 deletions source/connect/connection-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1091,11 +1091,11 @@ Miscellaneous Options
.. tip:: Freeze Settings

You can freeze the settings on a ``MongoClientSettings`` object by calling its
`Freeze() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.Freeze.html>`__
`Freeze() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.Freeze.html>`__
method. This prevents any further changes to the settings.

Alternatively, you can call the `FrozenCopy()
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.FrozenCopy.html>`__
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.FrozenCopy.html>`__
method to create a new ``MongoClientSettings`` object with the current settings frozen.

LibraryInfo
Expand Down Expand Up @@ -1349,22 +1349,22 @@ Additional Information
For more information about the types used on this page, see the
following API documentation:

- `MongoClientSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
- `MongoUrl <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoUrl.html>`__
- `MongoUrlBuilder <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoUrlBuilder.html>`__
- `AutoEncryptionOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.AutoEncryptionOptions.html>`__
- `ClusterDescriptionChangedEvent <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Events.ClusterDescriptionChangedEvent.html>`__
- `ClusterOpenedEvent <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Events.ClusterOpenedEvent.html>`__
- `CollectionNamespace <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.CollectionNamespace.html>`__
- `CompressorConfiguration <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Configuration.CompressorConfiguration.html>`__
- `CompressorType <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Compression.CompressorType.html>`__
- `ConnectionStringScheme <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Configuration.ConnectionStringScheme.html>`__
- `ExpressionTranslationOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ExpressionTranslationOptions.html>`__
- `LoggingSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Configuration.LoggingSettings.html>`__
- `MongoCredential <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Credential.html>`__
- `MongoServerAddress <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoServerAddress.html>`__
- `ReadConcern <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ReadConcern.html>`__
- `ReadConcernLevel <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ReadConcernLevel.html>`__
- `ReadPreference <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ReadPreference.html>`__
- `ServerApi <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ServerApi.html>`__
- `WriteConcern <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.WriteConcern.html>`__
- `MongoClientSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
- `MongoUrl <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoUrl.html>`__
- `MongoUrlBuilder <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoUrlBuilder.html>`__
- `AutoEncryptionOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.AutoEncryptionOptions.html>`__
- `ClusterDescriptionChangedEvent <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Events.ClusterDescriptionChangedEvent.html>`__
- `ClusterOpenedEvent <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Events.ClusterOpenedEvent.html>`__
- `CollectionNamespace <{+api-root+}/MongoDB.Driver/MongoDB.Driver.CollectionNamespace.html>`__
- `CompressorConfiguration <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Configuration.CompressorConfiguration.html>`__
- `CompressorType <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Compression.CompressorType.html>`__
- `ConnectionStringScheme <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Configuration.ConnectionStringScheme.html>`__
- `ExpressionTranslationOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ExpressionTranslationOptions.html>`__
- `LoggingSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Configuration.LoggingSettings.html>`__
- `MongoCredential <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Credential.html>`__
- `MongoServerAddress <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoServerAddress.html>`__
- `ReadConcern <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ReadConcern.html>`__
- `ReadConcernLevel <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ReadConcernLevel.html>`__
- `ReadPreference <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ReadPreference.html>`__
- `ServerApi <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ServerApi.html>`__
- `WriteConcern <{+api-root+}/MongoDB.Driver/MongoDB.Driver.WriteConcern.html>`__
4 changes: 2 additions & 2 deletions source/connect/connection-options/connection-pools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,5 @@ API Documentation
To learn more about any of the methods or types discussed in this
guide, see the following API documentation:

- `MongoClient <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
- `MongoClientSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
- `MongoClient <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
- `MongoClientSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
2 changes: 1 addition & 1 deletion source/connect/connection-options/network-compression.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ specify the algorithms you want to use in one of the following ways:
:tabid: mongoclientsettings

To enable compression by using
`MongoClientSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__,
`MongoClientSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__,
set the ``Compressors`` property of your ``MongoClientSettings`` object to a
``List`` of one or more ``CompressorConfiguration`` objects. Each
``CompressorConfiguration`` object in the ``List`` represents an algorithm you
Expand Down
16 changes: 8 additions & 8 deletions source/connect/connection-options/server-selection.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class to select a server at random before the standard server selection logic ru
:dedent:

To learn more about the different server selector classes, see the
`ServerSelectors API documentation <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.html>`__.
`ServerSelectors API documentation <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.html>`__.

Implementing Custom Server Selection Logic
------------------------------------------
Expand Down Expand Up @@ -158,7 +158,7 @@ in your connection URI:
| still be eligible for server selection. Specifying ``-1`` means no maximum.
| See :ref:`read preference <read-preference>` for more information.
|
| **Data Type**: `ReadPreference <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ReadPreference.html>`__
| **Data Type**: `ReadPreference <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ReadPreference.html>`__
| **Default**: ``ReadPreference.Primary``
| **Connection URI Example**:

Expand Down Expand Up @@ -187,9 +187,9 @@ API Documentation
To learn more about the classes and methods used in this guide, see the following API
documentation:

- `MongoClient <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
- `MongoClientSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
- `ClusterConfigurator <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.ClusterConfigurator.html>`__
- `ServerSelectors <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.html>`__
- `IServerSelector <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.IServerSelector.html>`__
- `SelectServer() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.IServerSelector.SelectServers.html>`__
- `MongoClient <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
- `MongoClientSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
- `ClusterConfigurator <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.ClusterConfigurator.html>`__
- `ServerSelectors <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.html>`__
- `IServerSelector <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.IServerSelector.html>`__
- `SelectServer() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.IServerSelector.SelectServers.html>`__
8 changes: 4 additions & 4 deletions source/connect/connection-options/stable-api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ API Documentation
For more information on using the {+stable-api+} with the {+driver-long+}, see the
following API documentation:

- `MongoClient <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
- `MongoClientSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
- `ServerApiVersion <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ServerApiVersion.html>`__
- `ServerApi <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ServerApi.html>`__
- `MongoClient <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
- `MongoClientSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
- `ServerApiVersion <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ServerApiVersion.html>`__
- `ServerApi <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ServerApi.html>`__

4 changes: 2 additions & 2 deletions source/connect/connection-targets.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,5 @@ API Documentation

To learn more about the types discussed in this guide, see the following API documentation:

- `MongoClient <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
- `MongoClientSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
- `MongoClient <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
- `MongoClientSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
4 changes: 2 additions & 2 deletions source/connect/mongoclient.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,5 @@ API Documentation
To learn more about creating a ``MongoClient`` object with the {+driver-short+},
see the following API documentation:

- `MongoClient <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
- `MongoClientSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
- `MongoClient <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
- `MongoClientSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
Loading