Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Looks very interesting! Anyone here who’s tried MeiliSearch?


Yes, I use it for https://www.comparedial.com/

It's ridiculously easy to use and has faceted search for my needs. However, there are some limitations so I have to use it in combination with redis, but the developers have a roadmap to fix these problems.


What's your underlying data store and how do you find the experience of runningly synchronising this with MeiliSearch?


I use postgres as the data store.

Synchronising with MeiliSearch is a bit of an effort because of the following limitations:

  * When filtering by facet, it doesn't provide count for disjunctive facets
  * No sort by
  * No where clause (less than 50 for example)
To overcome these problems, I rebuild some parts of the database in redis, use code for filtering and query MeiliSearch multiple times for different facet counts.

Both redis and MeiliSearch are ridiculously fast so the performance loss is negligible, but it makes my code quite complex. As soon as the developers add these missing features, I want to simplify my code and only use redis for query caching. Typesense had some of these limitations too, but I'm not sure if that's still the case.


Hi! MeiliSearch product team here! It's super cool to see your feeback!

Concerning the disjunctive count of the facets, we are thinking about it. It is feasible on the client side by making several requests but we are aware that is it not ideal at all from a developer experience point of view. We are still thinking about the best way to solve that case in one of our future iterations!

The sort feature is coming in v0.22 (string and numeric fields) you will be able to easily configure the balance between exhaustivity and relevancy at index level through the positioning of the ranking rules.

I'm not sure I understand the where clause point so I'd love to hear more details!

Thanks for using us and giving us this kind of feedback :)


Thank you for MeiliSearch.

By where clause I mean as in SQL. For example, select results where cost <= 50.



I'll take a look, thanks.


I’ve done some stuff with it. Works pretty well but not perfect.

Insertion times grows linear with index size, up to tens of milliseconds with an index of couple 100k documents.

Go library is very un-go, with not all the options exposed. And had a couple of breaking changes without upgrading major versions.

Other then that, the search part works really well


Hello, MeiliSearch team here :) Please, do not hesitate to leave an issue on the Golang repository so we can improve it! Also, indexing time will be much better with v0.21 planned to be released in a couple of days / weeks. You can test the RC in the meanwhile


I'm also using it for a plant species search on hedira.io, it's been great for the past 6 months or so, even for a more complex faceted search setup. I switched from Algolia (which was easy due to instantsearch integration) and have no regrets.


Yes. Small private project. It's quite fast. It's query interface is REST+JSON and now has an OpenAPIv3 spec; that said some of the query syntax is embedded in strings, so there you are still on your own.

I found the default order of results a bit off. Near-matches were positioned over exact matches.

I'm looking for a fulltext typo-tolerant search tool that integrates well Hasura+PG.


Also interested in the Hasura+PG options. Have you found anything interesting so far? At the moment I’m stringing together a few like clauses, which mostly does for my needs.


Went to have a look and found this...

Use PG's built in full text search capabilities:

https://hasura.io/blog/full-text-search-with-hasura-graphql-...

https://www.lateral.io/resources-blog/full-text-search-in-mi...

Extend those capabilities with pggroonga:

https://github.com/pgroonga/pgroonga

https://pgroonga.github.io/


Nope sadly. I want proper full text search with fault tolerance, like meilli and co provide, but it comes down to my own integration.

No nice integrations like hasura-backend-plus and combines hasura with minio/s3 and authentication service.


Yep. I have a small toy app that uses it and I keep monitoring the progess. It’s already very useful.


I tried adding search to my markdown blog

MeiliSearch doesn’t strip HTML tags and i had to do that manually before adding posts to index


I've ran into the same "strip tags" issue. Having used ES before, that does sanitizing and stripping for you, at first I was dissapointed.

However, after thinking about it more, I wrote up this issue[0] with some ideas and thoughts so I could implement it as PR or work around it.

I ended up working around it, because that makes most sense: separation of concerns: meilisearch should indeed not get involved in stripping or fixing HTML as that i) ties Meili to HTML, ii) requires configuration and complexity to allow control and iii) adds features that become security-critical.

Indeed, my solution is to sanitize, clean and strip HTML before sending into the index.

https://github.com/meilisearch/MeiliSearch/issues/1409


Hi berkes! (Guillaume from the MeiliSearch team here) I'm glad to see you were able to implement a solution for your project ;)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: