Questions tagged [meilisearch]

Questions related to Meilisearch search engine by meilisearch.com

Meilisearch is an opensource REST based, self-hostable search engine software.

From the documentation

MeiliSearch is a RESTful search API. It aims to be a ready-to-go solution for everyone who wants a fast and relevant search experience for their end-users.

Meilisearch is built using .

Official clients are available , , , , , , and other languages.

Few framework related packages are available too.

Links

91 questions
0
votes
0 answers

Meilisearch faceted search attribute

I have a data set as below { "id": 1, "name": "ThinkPad T14", "category": { "id": 1, "name": "Lenovo" }, "price": 599 }, { "id": 2, "name": "ThinkPad X1", "category": { …
Kevin
  • 1,403
  • 4
  • 18
  • 34
0
votes
0 answers

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 thought calling ::search on model will fetch data…
shyammakwana.me
  • 5,562
  • 2
  • 29
  • 50
0
votes
1 answer

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 encryption via the --env development flag. So my…
0
votes
0 answers

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, array $options) { …
MAMProgr
  • 400
  • 5
  • 12
0
votes
1 answer

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::parse('2022-02-15')->endOfDay(); $messages =…
0
votes
0 answers

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. This apparently only works for keys inside the…
Georg Heiler
  • 16,916
  • 36
  • 162
  • 292
0
votes
0 answers

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 increase. But I'm struggling with the syntax to…
Rome
  • 432
  • 6
  • 27
0
votes
1 answer

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 Filtering seems to return a facet distribution…
Eric
  • 243
  • 3
  • 9
0
votes
0 answers

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 query is very dynamic, I mean it depends on many…
Aniket Das
  • 367
  • 1
  • 6
  • 17
0
votes
1 answer

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 is possible to access meilisearch via…
0
votes
1 answer

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 function boot(): void { …
0
votes
0 answers

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 and I am trying to make the…
Jaad
  • 89
  • 1
  • 6
0
votes
0 answers

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
  • 1
  • 2
0
votes
1 answer

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 string for search and it will search…
0
votes
1 answer

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') ->paginate($paginate) ->load(['cover']); But it…