I am using v0.25 on the cloud service (support ins...
# community-help
j
I am using v0.25 on the cloud service (support installed a nightly upon request). I am testing the new facet_by wildcard feature. I can get all facets with a catchall wildcard "*". But if I use a prefixed wildcard "*_facet", I do not get any results, and it seems the server side process crashes (xhr requests is abruptly closed and a subsequent "Uncaught (in promise) Error: Network Error" in the console).
k
I just got an alert for that crash, sorry about that. Can you paste the exact query you made here?
Also we only support looking up on prefixes so
foo_.*
will work.
j
so that would match fields like foo_anything, foo_something
search query is: { "q": "", "query_by": "make,model,title,year,city,province,ownerUsername,listingMode", "query_by_weights": "1,2,2,2,3,3,2,5", "facet_by": "*_facet", "sort_by": [ "year:desc", "make:desc", "model:desc" ] }
i realize sort_by should be a string... but that doesnt cause a crash by itself...
ok even with reduced query getting crash: { "q": "test", "query_by": "title", "facet_by": "facet_.*" }
k
Ok I'll check and get back to you.
j
thank you. let me know if i can help.
k
I've identified the issue. Will fix and have a build with a fix.
j
thank you very much.
k
@James Cameron I've a fix: how do you deploy Typesense? I can share a build and you can test it out.
j
i was not able to build on RHEL last time i tried so i just got support to deploy a new version...
i was able to get the build to work on a VM with ubuntu, but didnt run it...
after i run the build, where is the dist/executable?
k
I can share a link to the executable, that is fine?
j
no i can run it, where can i find the build output?
what branch?
k
v0.25
build output will be in
build-Linux
directory.
I presume you are using the
docker-build.sh
script?
j
yes
k
Then yes,
build-Linux
j
thank you, will let you know.
👍 1