Questions tagged [meilisearch]

Questions related to Meilisearch search engine by meilisearch.com

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

How to use Meilisearch filters in Laravel lighthouse @search

How can I use meilisearch filters in laravel lighthouse @search directive I have for example: type Query { movies(search: String @search): [Movie!]! @paginate } I tried a graphql query with search ...
grimdbx's user avatar
  • 185
1 vote
1 answer
27 views

Laravel Scout with Meilisearch returns results for some models and not others

I am trying to use laravel scout with meilisearch to return results from an index for products. It doesn't work for this model however it does for my user model. I have gone through both to try and ...
Adam's user avatar
  • 21
0 votes
1 answer
35 views

Meilisearch Scout TimeOut

I'm using meilisearch for a while, but last 10 days, it started to timeout while updating records. I'm using scout also, every time product is updated, it's sending an update to meilisearch also. I'm ...
tcgkn's user avatar
  • 21
0 votes
0 answers
85 views

how to add document when using meilisearch

I am using meilisearch(v1.4.0) as the full text search engine, add the document with rust client code like this: use meilisearch_sdk::TaskInfo; use rust_wheel::common::util::rd_file_util::join_paths; ...
Dolphin's user avatar
  • 31.2k
0 votes
2 answers
39 views

Meilisearch - Vue instantsearch limit search to one index

I've got a small problem here with meilisearch and vue-instantsearch. I've got some models amongst which are a model called car-model and a model called manufacturer. The relation of manufacturer to ...
derelektrischemoench's user avatar
0 votes
0 answers
54 views

Meilisearch faceted search attribute

I have a data set as below { "id": 1, "name": "ThinkPad T14", "category": { "id": 1, "name": "...
Kevin's user avatar
  • 1,423
0 votes
0 answers
49 views

How to skip database queries when calling `search` on laravel model with meili and laravel scout

I have a transaction model, and other related models. While indexing in meili I eager load relations in transaction model and add a new key and relation, so in meili it shows a key and JSON data. I ...
shyammakwana.me's user avatar
0 votes
1 answer
166 views

Strapi Meilisearch 405 when trying to add content-type to index

so I just installed meilisearch and the corresponding strapi plugin for it. As I'm using this instance strictly for development purposes and to facilitate development, I'm running meilisearch without ...
derelektrischemoench's user avatar
1 vote
0 answers
260 views

Laravel Scout using Meilisearch: How to set attributesToHighlight with paginate?

How can I use attributesToHighlight Meilisearch feature with Laravel Scout? I am able to get results in _formatted attribute when I do: Page::search($search, function ($meilisearch, string $query, ...
MAMProgr's user avatar
  • 410
0 votes
1 answer
298 views

laravel scout and meilisearch filter and sort desc between two created_at filed date

i want to filter some data between two date in created_at column and sort all by created_at i don't have timestamp My Code $startDate = Carbon::parse('2022-02-01')->startOfDay(); $endDate = Carbon:...
php fox's user avatar
0 votes
0 answers
92 views

nuxt module configuration scoping

How can I move the configuration key of a nuxt module inside the runtimeConfig? The reason is I want to be able to overwrite configuration value (secret) from the environment using: NUXT_API_SECRET. ...
Georg Heiler's user avatar
1 vote
2 answers
166 views

CanCanCan, Pagy, and MeiliSearch, How to combine the 3 gems?

I'm working on a project that has Cue model that could be accessed and searched by multiple roles like guest and admin. The authorization happens using CanCanCan gem based on some logic written in the ...
AliOsm's user avatar
  • 551
0 votes
0 answers
48 views

Inceasing hitsPerPage in search request (Meilisearch)

Using Meilisearch for the first time in my web app and it's working great except that queries give 20 hits tops where I should get 100+. So I read the docs and hitsPerPage seems to be the option to ...
Rome's user avatar
  • 432
0 votes
1 answer
354 views

getting Meilisearch disjunctive facet searches to work like in the GIF examples in the Meilisearch documentation

I am using Meilisearch with Laravel. The functionalities of Scout seem limited, so I call the Meilisearch instance directly, and try to use the facet search. SUMMARY OF QUESTION: Meilisearch Faceted ...
Eric's user avatar
  • 243
2 votes
2 answers
1k views

Meilisearch version [Error: Your database version (1.0.2) is incompatible with your current engine version (1.1.0).]

When I start the run docker and meilisearch container doesn't run with this error : 2023-04-10 17:23:44 Error: Your database version (1.0.2) is incompatible with your current engine version (1.1.0). ...
Eren Tın's user avatar
0 votes
0 answers
318 views

Complex relational search using Laravel Scout (Meilisearch driver) - Laravel

Summary I'm new to Laravel scout and Meilisearch, I'm building a CRM application with Laravel, there already a index method I have that returns paginated data after fetching from database. However the ...
Aniket Das's user avatar
0 votes
1 answer
395 views

Meilisearch or Eloquent queries?

I write api and use Laravel Scout + Meilisearch on my project. Everything is working. But I have some doubts about whether I am using meilisearch correctly. I would appreciate any help. I know that it ...
Винсентэ Пуххини's user avatar
0 votes
1 answer
286 views

Laravel macro collection - Call to a member function map() on null

I have a project that i want to add a filter functionality to it using meilisearch. And what I'm trying to do is creating a new macro collection, // App\Providers\AppServiceProvider.php public ...
Hossam's user avatar
  • 3
0 votes
0 answers
273 views

How do I filter certain column using Laravel Scout

Products table id name commercial_name category_id 1 Pro1 Pro Com1 1 2 Pro2 Pro Com2 2 Categories table id name 1 Cat 1 2 Cat 2 What I am trying to do I am using Meilisearch with Laravel Scout ...
Jaad's user avatar
  • 89
0 votes
0 answers
107 views

Melisearch did not filter nullable value

I have query like below code $filter[] = 'branch_id = null OR branch_id = '.$auth_branch_id; I need to filter nullable data from database.
DevRiazul's user avatar
0 votes
1 answer
292 views

Laravel Meilisearch using non-case sensitive filters

I am trying to search and filter using Meilisearch and Laravel Scout. Database Table Sample: ` id name code 1 Panadol 123 2 Cometrex 456 3 Panadol 789 ` Data From Frontend: query = pana (It is a ...
Tele oceans's user avatar
1 vote
0 answers
115 views

Laravel Scout dynamically limit which keys are searched/returned

I'm setting up Laravel Scout for searching (experimenting with Meilisearch as the driver), however, I want to limit what fields are used for search (and ideally which fields are returned) based on a ...
Kieran's user avatar
  • 767
1 vote
2 answers
134 views

import _geo into Meilisearch from Laravel Model

ok so lets start off with code return [ 'name' => $this->name, 'user_display_name' => $this->user_display_name, 'user_city' => $this->user_city, ...
ArcticMediaRyan's user avatar
1 vote
0 answers
179 views

Search filter doesn't work correctly after adding new data with Laravel Scout on Meilisearch

I have Classified model public function searchableAs() { return 'classifieds_index'; } public function toSearchableArray() { return [ 'title' => $this->title, '...
viiskis's user avatar
  • 165
2 votes
1 answer
2k views

Does Meilisearch have a limit for how many results it can give when searching?

I have a model, let's call it Entry. In a view, I have a paginated table (35 per page) with a search bar that lists every entry. When the view loads, meilisearch is called to retrieve the first page ...
IGP's user avatar
  • 14.4k
1 vote
1 answer
417 views

Where is the output of debug!() calls in Meilisearch?

Trying to understand an open source project and I have seen the following code in many places debug!("called with params: {:?}", body); // or some parameter instead of bo when I run cargo ...
Shobi's user avatar
  • 10.6k
0 votes
1 answer
251 views

Laravel Meilisearch Scout - Select Does Not Exits

Using meilisearch scout, and want to get specific columns only on response. (To descrease the result size) $products = Product::search('blabla') ->select('title', 'id') ->...
Tufan Çağkan Sökmen's user avatar
0 votes
1 answer
610 views

Laravel Scout check if index exists

I can't find documentation on how to check with Laravel Scout if an index exists or not. I'm using it with meilisearch. My models have the Searchable trait. This is how I want to access the index and ...
Fabian's user avatar
  • 1,816
0 votes
1 answer
473 views

Laravel/Meilisearch - Did you forget to add \"http(s)://\"?

I'm currently trying to get my website up and running with Laravel Forge. And while everything works fine on my local, I've run into an error on my production website. Just about any POST request I ...
Felix's user avatar
  • 2,542
0 votes
1 answer
423 views

Laravel Homestead - Setting Meilisearch to a previous version

I recently installed the app I've been working on on a different machine. This machine is now using a newer version of homestead, which consequently forces me to use a newer version of Meilisearch. So ...
Felix's user avatar
  • 2,542
0 votes
1 answer
79 views

Instantsearch not working with React - Data not displaying

I have my instantsearch which is working perfectly fine when i run it as is as shown below However, when I tried to integrate it wit router dom, it seems something on the router dom is causing my ...
Adam's user avatar
  • 1,193
0 votes
1 answer
225 views

Security API in meilisearch

I want to know if it is completly neccesary to use a security KEY in meilisearch. I´m building an app in laravel, its like a blog, where I have the users and the posts with its comments. My searcher ...
Jorge Garcia's user avatar
0 votes
1 answer
434 views

Meilisearch - what's the differences & relationship among: searchableAttributes, filterableAttributes, faceting

searchableAttributes, filterableAttributes, faceting. I've read the documents, but a bit confused. Please give some insights about: Their differences. Their relationships.
Eric's user avatar
  • 22.8k
6 votes
5 answers
2k views

Laravel Scout (meilisearch) with Docker

I am trying to use Laravel Scout with docker I followed along with the docs Laravel Scout Docs I made all required steps for installation and everything is up and running as expected. but whenever I ...
Judge Jules's user avatar
0 votes
1 answer
250 views

Instant Meilisearch React: How do I hide data before user input?

I am using Meilisearch Instant to show search results. I want to show only search results when user type in something in searchbox. However, if I follow documentation the page shows all data even ...
Tabim's user avatar
  • 1
0 votes
1 answer
417 views

Indexing Strapi Dynamic Zones with Meilisearch plugin

I have a Strapi content type called portfolio, which has this Dynamic Zone: "body": { "type": "dynamiczone", "components": [ … "...
Rich's user avatar
  • 3,093
0 votes
1 answer
191 views

Meilisearch API key uid not showing up when calling getKey()

I'm currently using Meilisearch and I need to get the uid of an API key that I am using. I'm calling their getKey() method with an API key to get information about this key, but I notice that there ...
CodeMaster12's user avatar
0 votes
1 answer
457 views

Meilisearch Filter Rails Array

I am looking for a better way of filtering an array of values through Maeiliseach using an array. I have users that can have multiple accounts and want to search all of a users accounts inventory. I ...
Jamie Crone's user avatar
1 vote
1 answer
802 views

Updating model data in the meilisearch index when editing this model's links

Input data regarding the database: The product table has 4 million positions; Adjacent tables, which will be relations for the product model, have an average of 1 to 4 million records respectively, ...
Yaroslav Domen's user avatar
1 vote
1 answer
1k views

Laravel Scout with Meilisearch filtering not working with >, >=, <, and <= operators

I am trying to implement Meilisearch on my Laravel application. for some reason I'm not able to filter decimal fields (price, mrp etc..) using >, >=, <, and <= operators as explained on ...
Subham Manna's user avatar
0 votes
1 answer
552 views

Laravel 9 - pagination() pages results truncated

I already had this "problem" when using a local scope in the same model but i used another method to reach that specific goal. Now, i want use MeiliSearch as search engine but i have the ...
Musamba's user avatar
  • 35
1 vote
0 answers
337 views

How do I search related attributes in Laravel Scout?

I'm playing around with Scout and MeiliSearch in Laravel 8 and struggling a little with searching related attributes. I have an adverts table, an attributes table (e.g. colour, size, etc.) and an ...
remoteboy's user avatar
0 votes
0 answers
430 views

How to mock Meilisearch in PHPunit

I am working with Meilisearch in my Laravel application, and am trying to figure out the best way I can mock my Meilisearch indexes. The tests themselves are currently not that advanced, for example ...
Oskar Mikael's user avatar
-2 votes
1 answer
46 views

Why do i get naming error using -cp function in linux? [closed]

#!/bin/bash mkdir Kolokwium cd Kolokwium touch Kolokwium.tex mkdir Baza_danych cd Baza_danych echo Bartosz Obstawski >> Dane.txt echo "SELECT * FROM city WHERE countryCode='POL' AND ...
Bartek Obstawski's user avatar
1 vote
0 answers
152 views

Context index generation for meilisearch

I've been using all sorts of hacks to generate file indexes out of SMB shares. And it's all cool with basic filepath plus metadata indexing. The next step I want to implement is an algorithm combining ...
ViktorasCNC's user avatar
1 vote
1 answer
1k views

Meilisearch index not being created

I have been using Meilisearch for a couple of months and have recently upgraded to 0.26.0. For some reason, when I am today trying to create an index using the node package, nothing seems to happen. I ...
Emile Paffard-Wray's user avatar
2 votes
1 answer
2k views

Installed via Laravel Sail and available on the port Meilisearch doesn't add indexes for models; date.ms file seems to be missing

I added Meilisearch to the project, now its interface is available in the browser at :7700 and I see the following in my browser: I installed Meilisearch via Laravel Sail utility, below is the ...
Vitaly Vesyolko's user avatar
1 vote
0 answers
173 views

How To Concat search in laravel scout (meilisearch)

in laravel code Model::where(DB::raw('CONCAT(name, " " ,surname)'), 'like', '%'.$request->input('search').'%') how to use in laravel scout meilisearch
dickhorror's user avatar
1 vote
1 answer
645 views

Laravel Scout issue with relationship

Using Laravel scout I want to delete a record (on an Agent model), everything works well except that I'm redirecting to a list of agents after the delete, and since the queue is yet to be processed ...
Jeremy Belolo's user avatar
1 vote
1 answer
856 views

Search for a term on multiple models/Indexes

Description I have just migrated our application from searchkick to meilisearch however meilisearch doesn't have a way I can search for single term across multiple indexes or models like searchkick ...
Kofi Asare's user avatar