@@ -426,8 +426,8 @@ documents from the "joined" collection.
426426
427427.. note::
428428
429- To perform a lookup, you must make both collections queryable using the
430- ``AsQueryable`` method.
429+ To perform a lookup, you must make both collections queryable by using the
430+ ``AsQueryable() `` method.
431431
432432 To learn how to make a collection queryable, see :ref:`csharp-linq-queryable`.
433433
@@ -445,7 +445,7 @@ The following ``Review`` class models the documents in the ``reviews`` collectio
445445 :end-before: end-review-model
446446
447447Select the :guilabel:`Method Syntax` or :guilabel:`Query Syntax` tab to see how
448- to generate a ``$lookup`` stage using LINQ:
448+ to generate a ``$lookup`` stage by using LINQ:
449449
450450.. tabs::
451451
@@ -477,25 +477,37 @@ reviews for that restaurant. A review matches a restaurant if the value of the
477477``name`` field in the review document matches the ``name`` field of the restaurant
478478document.
479479
480- The following is a subset of the returned results:
480+ The following shows a subset of the returned results:
481481
482482.. code-block:: json
483483
484484 // Results Truncated
485485
486- { "restaurant" : {
487- "_id" : ObjectId("..."),
488- "name" : "The Movable Feast",
489- "restaurant_id" : "40361606",
490- "cuisine" : "American",
491- "address" : {...},
492- "borough" : "Brooklyn",
493- "grades" : [...] },
494- "reviews" : [
495- { "_id" : ObjectId(...), "restaurant_name" : "The Movable Feast", "reviewer" : "Lazlo Cravensworth", "review_text" : "Great restaurant! 12/10 stars!" },
496- { "_id" : ObjectId("..."), "restaurant_name" : "The Movable Feast", "reviewer" : "Michael Scarn", "review_text" : "It really was a feast" }
497- ]
498- }
486+ {
487+ "restaurant": {
488+ "_id": ObjectId("..."),
489+ "name": "The Movable Feast",
490+ "restaurant_id": "40361606",
491+ "cuisine": "American",
492+ "address": { ... },
493+ "borough": "Brooklyn",
494+ "grades": [ ... ]
495+ },
496+ "reviews": [
497+ {
498+ "_id": ObjectId("..."),
499+ "restaurant_name": "The Movable Feast",
500+ "reviewer": "Lazlo Cravensworth",
501+ "review_text": "Great restaurant! 12/10 stars!"
502+ },
503+ {
504+ "_id": ObjectId("..."),
505+ "restaurant_name": "The Movable Feast",
506+ "reviewer": "Michael Scarn",
507+ "review_text": "It really was a feast"
508+ }
509+ ]
510+ }
499511
500512$vectorSearch
501513~~~~~~~~~~~~~
0 commit comments