You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 12, 2021. It is now read-only.
- Fix/Handle building filters (where) and extending it to support passing operators.
- Fix/Handle building orders.
- Fix import to report results which helps to find failed documents.
- Added support `orderByLocation()` to scout builder using macros.
- Added support `groupBy()` to scout builder using macros.
- Added support `groupByLimit()` to scout builder using macros.
- Added support `setHighlightStartTag()` to scout builder using macros.
- Added support `setHighlightEndTag()` to scout builder using macros.
- Added support `limitHits()` to scout builder using macros.
- Added missing license file.
- Updated readme with more examples.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
[](https://packagist.org/packages/devloopsnet/laravel-typesense)
1
+
[](https://packagist.org/packages/devloopsnet/laravel-typesense)
2
2
3
3
[](https://packagist.org/packages/devloopsnet/laravel-typesense)[](https://packagist.org/packages/devloopsnet/laravel-typesense)
4
4
5
-
6
5
# Laravel Scout Typesense Engine
6
+
7
7
Typesense engine for laravel/scout https://github.com/typesense/typesense .
8
8
9
9
<palign="center">
@@ -19,7 +19,6 @@ This package makes it easy to add full text search support to your models with L
19
19
-[Author](#author)
20
20
-[License](#license)
21
21
22
-
23
22
## Installation
24
23
25
24
You can install the package via composer:
@@ -86,8 +85,7 @@ In your `config/scout.php` add:
86
85
## Usage
87
86
88
87
After you have installed scout and the Typesense driver, you need to add the
89
-
`Searchable` trait to your models that you want to make searchable. Additionaly,
90
-
define the fields you want to make searchable by defining the `toSearchableArray` method on the model and implement `TypesenseSearch`:
88
+
`Searchable` trait to your models that you want to make searchable. Additionaly, define the fields you want to make searchable by defining the `toSearchableArray` method on the model and implement `TypesenseSearch`:
91
89
92
90
```php
93
91
<?php
@@ -148,26 +146,129 @@ Then, sync the data with the search service like:
0 commit comments