Comments (8)
Hello @longfellowone!
Currently, the MeiliSearch placeholder works only when passing a q=null
or no q
at all, but q=''
returns indeed no result.
This will be changed in the next release! meilisearch/meilisearch#916
from meilisearch-rust.
Whoops I ran a very old version.
from meilisearch-rust.
Figured that was the case. Until the next version is released is there anyway to send in a null query using the current rust api as new() does not accept an Option?
from meilisearch-rust.
I will add this feature in #46. The query will be an Option
too.
from meilisearch-rust.
FYI the next release of MeiliSearch (v0.15.0) will be out in two weeks and will contain this change (q=''
will return results as placeholder search).
If there is any change, I will let you know as the public pre-release will be out on Monday!
from meilisearch-rust.
Yes, but it would be more idiomatic to make query
optional.
from meilisearch-rust.
I don't understand. According to the meilisearch response, the query string is mandatory.
Invalid JSON: missing field `q` at line 1 column 2", error_code: BadRequest, error_type: InvalidRequest, error_link: "https://docs.meilisearch.com/error/bad_request
from meilisearch-rust.
@Mubelotix: Hum weird, what is the version of your MeiliSearch instance? I don't succeed to reproduce your error with the v0.14.0
from meilisearch-rust.
Related Issues (20)
- Broken tenant token generation HOT 3
- Questions around API design for Client's `generate_tenant_token` method's UID parameter HOT 2
- Sort params are hard to generalize HOT 1
- Update code-samples based on docs team request (apr/23)
- [v1.3] [EXPERIMENTAL] Vector Store HOT 1
- [v1.3] Define fields to search on at search-time (`attributesToSearchOn`)
- [v1.3] Display hits ranking scores
- [v1.3] [EXPERIMENTAL] Display ranking details at search HOT 1
- [v1.3] Sort facets value by alphanumerical or count order
- [v1.3] Search in facet values `facetSearch`
- [v1.3] Total Tasks in task route
- Ensure the error handling are following the best practice HOT 1
- Add CodeCov HOT 2
- Quotation marks in primary silently fails entire `index.add_document` call. HOT 3
- SearchResults<T> doesn't implement trait serde::Serialize HOT 3
- [v1.4] Support text-separator customization
- [v1.4] Support user-dictionary loading HOT 1
- Library seems unusable on MacOS 14.0 HOT 1
- Index::add_documents_csv panics when File streaming HOT 2
- [v1.5] Add a new method for creating snapshots
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meilisearch-rust.