Uploaded image for project: 'PHP ORMs'
  1. PHP ORMs
  2. PHPORM-28

Laravel Scout Integration

    • Type: Icon: Epic Epic
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Laravel
    • None
    • Laravel Atlas Search
    • Hide
      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?
      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • In Progress
    • 3
    • 5
    • 6
    • 100
    • Hide

      Engineer: Jérôme Tamarelle

      2025-01-20:

      • What was completed over the last two weeks?
        • First implementation merged, without possibility to configure the search index definition PHPORM-268
      • What’s the focus over the next week?
        • This first version will be released so the documentation can be added. I'll help and review the docs.
      • Impediments encountered over the last week
        • Lot of review and some redesign
        • Instability of mongodb-atlas-local docker image in the CI CLOUDP-294988. 

      2025-01-07:

      • What was completed over the last two weeks?
        • Tests running Atlas Local
      • What’s the focus over the next week?
        • Create a demo app to help review and testing as a user of the library
      • Impediments encountered over the last week
        • Index definition and search criteria should be configurable, but Scout doesn't support this very well. We still need to investigate this point.

      2024-12-06:

      • What was completed over the last two weeks?
      • What’s the focus over the next week?
        • Will create issues for each part of the scope in Laravel.
        • Trying to run atlas search local in the CI to run tests involving search indexes
      • Impediments encountered over the last week
        • I had to refactor some of the aggregation builder to support search.
      Show
      Engineer: Jérôme Tamarelle 2025-01-20: What was completed over the last two weeks? First implementation merged, without possibility to configure the search index definition PHPORM-268 What’s the focus over the next week? This first version will be released so the documentation can be added. I'll help and review the docs. Impediments encountered over the last week Lot of review and some redesign Instability of mongodb-atlas-local docker image in the CI CLOUDP-294988.  2025-01-07: What was completed over the last two weeks? Tests running Atlas Local What’s the focus over the next week? Create a demo app to help review and testing as a user of the library Impediments encountered over the last week Index definition and search criteria should be configurable, but Scout doesn't support this very well. We still need to investigate this point. 2024-12-06: What was completed over the last two weeks? Added the $search and $searchMeta stages with all search operator in the aggregation builder. Wrote a scope for the the search specific feature in Laravel: https://docs.google.com/document/d/1WRpEzKDewQKWLw6M5k6NaN9l1ZOwITPYSGMu5xsxdSc/edit?tab=t.0 What’s the focus over the next week? Will create issues for each part of the scope in Laravel. Trying to run atlas search local in the CI to run tests involving search indexes Impediments encountered over the last week I had to refactor some of the aggregation builder to support search.

      In jenssegers/laravel-mongodb#2499, a user asked Laravel Scout integration.

      Scout supports multiple backends (from dedicated search providers to SQL), so full-text indexes and Atlas Search might both be appropriate.

            Assignee:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: