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
1 answer

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 have indexed the Inventory items. This what a…
0
votes
1 answer

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 same problem as above: the paginated result are being…
Musamba
  • 35
  • 1
  • 7
0
votes
0 answers

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 my test to simply create an index looks like…
Oskar Mikael
  • 153
  • 3
  • 17
0
votes
1 answer

Integrate pagy and meilisearch for pagination and search in to Rails

What's the best way to integrate pagy_search in to my index if I'm already using Pagy? In my controller I currently have: def index @gold_drivers = Driver.gold_plan @silver_drivers = Driver.silver_plan @free_drivers = Driver.free_plan …
devon93
  • 165
  • 2
  • 11
0
votes
0 answers

How to setup public nginx server so that it can call a private local server on the same machine

I've got two web servers running on a machine where one is an application that I don't need to make publuc directly (it's Meilisearch to be specific). Let's say this app is running on port 7700. The other server is a React static website that make…
Milad
  • 4,901
  • 5
  • 32
  • 43
0
votes
0 answers

ExpressJS res.status(500).json - Cannot read properties of undefined

I'm trying to setup a MeiliSearch index to be populated when my backend server (NodeJS/ExpressJS) starts. Below is my code: const withDB = async (operations, res) => { try { const client = await MongoClient.connect('mongodb://localhost:27017', {…
0
votes
1 answer

Exporting data from firebase firestore to MeiliSearch using Google Cloud Function

I was working on exporting data from Firebase Firestore to MeiliSearch (and I am new to this) through Cloud Function, but the problem was that it was collecting all of the data but in MeiliSearch it was exporting only a chunk, say 400 out of 25k…
0
votes
1 answer

laravel scout add additional attribute (only in meilisearch)

I try to migrate a SQL based search to meilisearch using laravel scout. At the moment the whole search should be migrated to meilisearch, including all filter and sorting options. A product has a relation to feedbacks (product model): //returns all…
gamedev
  • 45
  • 1
  • 6
0
votes
1 answer

MeiliSearch for PDF and Docx files

Is it possible to use Meilisearch to search contents of PDF and DOCX files? If yes What is the process of indexing and searching?
0
votes
1 answer

Laravel/Scout - How to get total number of documents?

I'm using meilisearch engine in laravel scout, Is it possible to get total number of documents (indexes)?
Mwthreex
  • 913
  • 1
  • 11
  • 24
0
votes
1 answer

Having Redis and Meilisearch on a EC2 instance

I am using an EC2 instance for my meilisearch and i am wondering if i could install redis on the same EC2 instance. How do you manage to deploy a redis instance and a search instance, do you do as multiple instances or have only one instance ?
0
votes
1 answer

Meilisearch: user protected search

I have a database table "movies" with three fields: id, title and user_id. Behind a login users can create new movies with a custom title. The user_id is set automatically to the current logged in user. Now on another page (also behind the same…
tsdevelopment
  • 1,785
  • 1
  • 7
  • 7
0
votes
1 answer

Error on running scout:import command. Internal error: panic

I am using laravel scout with meilisearch driver. The problem is: When I run the command php artisan scout:import "App\Models\Article" the below error is shown: I am using laravel 8. MeiliSearch\Exceptions\ApiException Internal error: panic at…
farhad.a
  • 341
  • 4
  • 17
0
votes
0 answers

Meilisearch max retries exceeded

I'm developing an app in Streamlit, it used to work but now when I try to access I am receiving an error. This is part of my code using meilisearch. import requests query = "Technology" #params params = dict(q=query) headers = {'X-Meili-API-Key':…
0
votes
2 answers

Laravel Scout - pagination eager loading

How do I eager load with Laravel Scout? Here is my query: $results = Submission::search($query, function ($meilisearch, $query, $options) use ($request) { $resultsFilter = ''; if ($subchan = $request->input('subchan')) { …
Felix
  • 2,532
  • 5
  • 37
  • 75