Fix wildcard search
Fixes https://github.com/NixOS/nixos-search/issues/537 maybe.
🚀 Deployed on https://631b6dfec65a852a22c5619c--nixos-search.netlify.app
We had a wildcard search?
We had a wildcard search?
Apparently.
[wildcard] query does not support [case_insensitive]
Hmm, I guess we're using a version of Elastic older than 7.10.0? (https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-wildcard-query.html)
Yeah, 7.2.0. Shame.
Maybe we can just remove the lowercase call in the frontend, so that we can at least match things using the proper capitalisation?
That seems to work. Now at least extraDep returns a result.
@garbas is it possible to elevate us onto a newer elastic version?
There is 7.10.2 version available, would that work?
Yes!
Sorry I forgot to contact the Bonsai support, I've done it now. I'll keep you posted.
Maybe we can merge this in the meantime?
yeah, lets merge this. works a little better.
I also got news from bonsai (it for some reason went to my spam) that they will bring new cluster with 7.10 up. Then we could rework the query a bit.