I am not able to use the workflow to search for version 9 docs, only 8.
When the branch
variable is set to 8.x
and I type ld eloquent
, I get the following:
[13:37:11.424] Laravel Docs[Script Filter] Queuing argument 'eloquent'
[13:37:11.692] Laravel Docs[Script Filter] Script with argv '(null)' finished
[13:37:11.696] Laravel Docs[Script Filter] {"items":[{"arg":"https:\/\/laravel.com\/docs\/8.x\/eloquent-resources#introduction","autocomplete":"Eloquent ORM","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/eloquent-resources#introduction","subtitle":"API Resources \u00bb Introduction","title":"Eloquent ORM","uid":"b3e9d38184ace20cc6f74af7076aebc6f0d27332","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/eloquent-mutators#introduction","autocomplete":"Eloquent ORM","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/eloquent-mutators#introduction","subtitle":"Mutators \/ Casts \u00bb Introduction","title":"Eloquent ORM","uid":"a797ac40d92b7edda00241f5b05d535bff2f6e50","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/eloquent-collections#introduction","autocomplete":"Eloquent ORM","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/eloquent-collections#introduction","subtitle":"Collections \u00bb Introduction","title":"Eloquent ORM","uid":"6e0c70409df829a54917886167a8068a5bf4a51c","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/eloquent-serialization#introduction","autocomplete":"Eloquent ORM","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/eloquent-serialization#introduction","subtitle":"Serialization \u00bb Introduction","title":"Eloquent ORM","uid":"5f607bffe17ceb3bc9fd954b19f73339b05ae2b2","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/eloquent#introduction","autocomplete":"Eloquent ORM","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/eloquent#introduction","subtitle":"Getting Started \u00bb Introduction","title":"Eloquent ORM","uid":"3d99c67844fe08f31df3bfa18fa10f04eac92fca","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/eloquent-relationships#introduction","autocomplete":"Eloquent ORM","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/eloquent-relationships#introduction","subtitle":"Relationships \u00bb Introduction","title":"Eloquent ORM","uid":"2dd57d4f23ecf9dfb11bf989a318a3cf42ad897d","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/upgrade#eloquent","autocomplete":"Prologue","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/upgrade#eloquent","subtitle":"Upgrade Guide \u00bb Upgrading To 8.0 From 7.x","title":"Prologue","uid":"c7859e3fe93aeeb67dde728f7078fe2127bf9374","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/pagination#paginating-eloquent-results","autocomplete":"Database","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/pagination#paginating-eloquent-results","subtitle":"Pagination \u00bb Basic Usage","title":"Database","uid":"3c4c041845026ff6e6da6139e275ba073b69c5e0","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/responses#eloquent-models-and-collections","autocomplete":"The Basics","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/responses#eloquent-models-and-collections","subtitle":"Responses \u00bb Creating Responses","title":"The Basics","uid":"cf80dc3dcb82ec79b8a63cfd1fd8a4e0b2e839b5","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/urls#eloquent-models","autocomplete":"The Basics","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/urls#eloquent-models","subtitle":"URL Generation \u00bb URLs For Named Routes","title":"The Basics","uid":"fa2446a38227d0e5085e059791482a12dff3210f","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/releases#model-factory-classes","autocomplete":"Prologue \u00bb Model Factory Classes","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/releases#model-factory-classes","subtitle":"Eloquent model factories have been entirely re-written as class based factories and improved to have first-class relationship support. For example, the UserFactory included with Laravel is written like so","title":"Prologue \u00bb Model Factory Classes","uid":"d0d1c69a8c29244b2bd027759f1b9f95ee3b7616","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/scout#configuring-model-indexes","autocomplete":"Packages \u00bb Configuring Model Indexes","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/scout#configuring-model-indexes","subtitle":"Each Eloquent model is synced with a given search \"index\", which contains all of the searchable records for that model. In other words, you can think of each index like a MySQL table. By default, each model will be persisted to an index matching the model's typical \"table\" name. Typically, this is the plural form of the model name; however, you are free to customize the model's index by overriding the searchableAs method on the model","title":"Packages \u00bb Configuring Model Indexes","uid":"8caa5d16c8f9bc181c6aa7acf7c655dbe71048b6","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/collections#creating-collections","autocomplete":"Digging Deeper \u00bb Creating Collections","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/collections#creating-collections","subtitle":"The results of Eloquent queries are always returned as Collection instances","title":"Digging Deeper \u00bb Creating Collections","uid":"600a816a73b1cdbb929434885ed9344c378a2f5c","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/routing#implicit-binding","autocomplete":"The Basics \u00bb Implicit Binding","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/routing#implicit-binding","subtitle":"Laravel automatically resolves Eloquent models defined in routes or controller actions whose type-hinted variable names match a route segment name. For example","title":"The Basics \u00bb Implicit Binding","uid":"aecae42de9def94d2caed3f66db70edd39b73291","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/queues#ignoring-missing-models","autocomplete":"Digging Deeper \u00bb Ignoring Missing Models","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/queues#ignoring-missing-models","subtitle":"When injecting an Eloquent model into a job, the model is automatically serialized before being placed on the queue and re-retrieved from the database when the job is processed. However, if the model has been deleted while the job was waiting to be processed by a worker, your job may fail with a ModelNotFoundException ","title":"Digging Deeper \u00bb Ignoring Missing Models","uid":"dc5fe2d792dd3449227273b171a5c3d2191eeb9b","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/broadcasting#model-broadcasting","autocomplete":"Digging Deeper \u00bb Model Broadcasting","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/broadcasting#model-broadcasting","subtitle":"To get started, your Eloquent model should use the Illuminate\\Database\\Eloquent\\BroadcastsEvents trait. In addition, the model should define a broadcastsOn method, which will return an array of channels that the model's events should broadcast on","title":"Digging Deeper \u00bb Model Broadcasting","uid":"6e81dda7fbe04deb469b33a5d0e9567d89f0100a","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/database-testing#concept-overview","autocomplete":"Testing \u00bb Concept Overview","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/database-testing#concept-overview","subtitle":"First, let's talk about Eloquent model factories. When testing, you may need to insert a few records into your database before executing your test. Instead of manually specifying the value of each column when you create this test data, Laravel allows you to define a set of default attributes for each of your Eloquent models using model factories","title":"Testing \u00bb Concept Overview","uid":"0e5caba46543758819a26b84a31e0ed2e6954291","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/controllers#resource-controllers","autocomplete":"The Basics \u00bb Resource Controllers","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/controllers#resource-controllers","subtitle":"If you think of each Eloquent model in your application as a \"resource\", it is typical to perform the same sets of actions against each resource in your application. For example, imagine your application contains a Photo model and a Movie model. It is likely that users can create, read, update, or delete these resources","title":"The Basics \u00bb Resource Controllers","uid":"649fe11f14f7cd208a854841719efe9e0571179b","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/structure#the-models-directory","autocomplete":"Getting Started \u00bb The App Directory","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/structure#the-models-directory","subtitle":"The Models directory contains all of your Eloquent model classes . The Eloquent ORM included with Laravel provides a beautiful, simple ActiveRecord implementation for working with your database. Each database table has a corresponding \"Model\" which is used to interact with that table. Models allow you to query for data in your tables, as well as insert new records into the table","title":"Getting Started \u00bb The App Directory","uid":"0fc233249e2458840b660f9b994ee7671c955bee","valid":true},{"arg":"https:\/\/laravel.com\/docs\/8.x\/authentication#introduction-database-considerations","autocomplete":"Security \u00bb Database Considerations","quicklookurl":"https:\/\/laravel.com\/docs\/8.x\/authentication#introduction-database-considerations","subtitle":"By default, Laravel includes an App\\Models\\User Eloquent model in your app\/Models directory. This model may be used with the default Eloquent authentication driver. If your application is not using Eloquent, you may use the database authentication provider which uses the Laravel query builder","title":"Security \u00bb Database Considerations","uid":"5e393d5446c4bb89a7dfad8ea032bf67caaf2d84","valid":true}]}
When the branch
variable is set to 9.x
and I type ld eloquent
, I get the following:
[13:37:50.484] Laravel Docs[Script Filter] Queuing argument 'eloquent'
[13:37:50.795] Laravel Docs[Script Filter] Script with argv '(null)' finished
[13:37:50.798] Laravel Docs[Script Filter] {"items":[{"arg":"https:\/\/www.google.com\/search?q=laravel%20eloquent","icon":{"path":"google.png"},"quicklookurl":"https:\/\/www.google.com\/search?q=laravel%20eloquent","subtitle":"No match found. Search Google for: \"eloquent\"","title":"Search Google","valid":true},{"arg":"https:\/\/laravel.com\/docs\/","icon":{"path":"icon.png"},"quicklookurl":"https:\/\/laravel.com\/docs\/","subtitle":"No match found. Open laravel.com\/docs...","title":"Open Docs","valid":true}]}