Comments (5)
Hello @akilic942
thanks for your feedback, really precious! I will transfer to the Cloud team.
from meilisearch.
Hi @akilic942 the bug was fixed!
I even updated our demo (https://tenant-token.meilisearch.com) to use the edge, so you can see it working ;)
Thanks a lot for the hint about the bug!
from meilisearch.
Hey @akilic942 👋
I just tried using cURL, and it works perfectly when I use the tenant token generated with this online JSON Webtoken generator. I used the default movies dataset you can find on the getting started page of the documentation and added a filter to only display the Matrix movie (id = 603
).
Would it be possible to tell me more about the way you configured your JS client? Or give me a reproducer with cURL requests, please?
Have a nice day 🌔
from meilisearch.
@akilic942 It sounds like you have a searchtoken or apikey configured as default (in the JS SDK) and it's being used until the users token kicks in. We are using this type of setup and we make sure to fetch the users token before any search is made, if the users token isn't able to be fetched the whole search will just fail with unauthorized as it should.
This is easily achieved by using a custom httpclient
or if you already have the token custom request config
https://github.com/meilisearch/meilisearch-js?tab=readme-ov-file#custom-request-config-
https://github.com/meilisearch/meilisearch-js?tab=readme-ov-file#custom-http-client-
from meilisearch.
Thank you for you replies @Kerollmops @Fronix
I just tried using cURL, and it works perfectly when I use the tenant token generated
I tried it myself, i get the same results as I stated in my first response. The first place holder search gives me the results of the last placeholder search. The second place holder search finally uses the right filters.
Would it be possible to tell me more about the way you configured your JS client? Or give me a reproducer with cURL requests, please?
curl --location 'https://edge.meilisearch.com/indexes/Customers/search' \ --header 'Authorization: Bearer XXXXXX' \ --data ''
While i was typing this, i changed https://edge.meilisearch.com (Analytics and monitoring) to the original meilisearch-cloud url - and voila, that fixed it.
It seems to be a bug with edge.meilisearch.com Analytics and monitoring URL
from meilisearch.
Related Issues (20)
- matching strategy "all" is not matching expected hits HOT 3
- User input stop words HOT 5
- Setting a `filterableAttributes` must make the nested field `facetSearchable` too HOT 3
- [v1.9.0] Relevancy changes HOT 1
- v1.8.0 _geoRadius filter returns no results HOT 1
- A lot of SDK CIs fail
- Update version in Cargo.toml for v1.8.1 HOT 1
- Change key actions to be bitflags
- snapshotCreation task included in snapshot HOT 2
- Meilisearch stops responding when getting "enough" concurrent traffic HOT 4
- Slow Filtering when Indexes Contains many Documents
- Cannot compile the Meilisearch binary with cuda enabled HOT 2
- Windows tests routinely fail HOT 2
- Update mini-dashboard with the lastest release
- Relevancy changes in rc0 - are they expected? HOT 7
- Update Open API file for v1.10.0
- v1.10.0 ROADMAP
- Update version in Cargo.toml for v1.10.0
- Create release changelogs for v1.10.0
- After setting `distinct_attribute` values inside `facetStats` and `facetDistribution` become incorrect. HOT 1
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.