laravel-scout Questions

4

Solved

I've installed and configured meilisearch + Laravel Scout package. My Model: class Post extends Model { use Searchable; } When I run php artisan scout:import 'App\Models\Post' it returns: Importe...
Retortion asked 1/8, 2021 at 23:41

3

Solved

As you know, using where() statement after the search method uses numericFilter. I am trying to filter my search results with string filtering. How can I use Facet Filter on search statement?
Subtonic asked 18/9, 2017 at 17:57

1

I am trying to implement a search in Laravel. it will have a search bar where 3 keywords will be given as input. There are 2 columns namely meta_name and meta_description in the database against wh...
Hasheem asked 15/6, 2023 at 21:6

2

To begin with, the date format that that is stored in the index is 2021-09-16T14:06:02.000000Z When I log in with the option to remember the user and then I log out, I get the following error. The ...
Jessikajessup asked 16/9, 2021 at 14:31

15

I'm facing strange case. I face an error in production env not while in dev it's working fine. Development: Laravel 5.4.28 PHP 7.0.13 MYSQL 5.7.17 Production: Laravel 5.4.28 PHP 7.2.1 MYSQL 5.7....
Wondrous asked 19/1, 2018 at 14:43

5

Laravel Scout: Is there a way that I search in only a specific field? At the moment this line is working fine: $es = Element::search($q)->get(); But it searches title, shortdescription and ...
Durtschi asked 1/9, 2017 at 16:34

1

I've been doing some testing with laravel scout and according to the documentation (https://laravel.com/docs/8.x/scout#configuring-searchable-data), I've mapped my User model as such: /** * Get t...
Bywaters asked 8/2, 2022 at 16:48

3

I tried Using Elastic search with Laravel scout with packages "laravel/scout": "^1.0", "tamayo/laravel-scout-elastic": "^1.0" Ran Elasticsearch server in ...
Bergin asked 4/1, 2017 at 15:52

2

I can't seem to figure out how to search in 2 tables within 1 query in Laravel scout. For specific reasons that are not important right now, I don't want to just run raw queries. Right now I have t...
Raouf asked 16/12, 2019 at 13:53

2

Solved

First i use scout-elasticsearch-driver for Laravel Scout: https://github.com/babenkoivan/scout-elasticsearch-driver I followed step by step the readme, create the index, migrate the index, configur...
Gina asked 26/11, 2018 at 20:3

2

Solved

Is there a way to check if Elasticsearch has finished processing my request? I want to perform integration tests for my application checking if a record can be found after insertion. For example i...

1

How should I manage the multi-language indexes (For example: page / page_translations models should become page_en / page_fr indexes). I am using "Dimsav\Translatable" package. Page model: id, sta...
Peach asked 19/5, 2017 at 13:11
1

© 2022 - 2024 — McMap. All rights reserved.