Authorization Issues and Version Update Queries
TLDR gab was having authorization issues with multisearch but Jason advised using the collection name instead of the alias when creating the key. gab also queried about updating the cloud cluster to a later version.
1
1
Jul 30, 2021 (30 months ago)
gab
05:25 PMI have the following case where I'm not authorized. Cannot find why:
Key that exist
{
"actions": [
"documents:search"
],
"collections": [
"products",
"wharehouses"
],
"value_prefix": "fKzc"
}
Aliases that exists
{
"aliases": [
{
"collection_name": "prod-wharehouses-21-07-30-14",
"name": "wharehouses"
},
{
"collection_name": "prod-products-21-07-30-16",
"name": "products"
}
]
}
Collections that exists
[
{ "name": "prod-wharehouses-21-07-30-14"},
{ "name": "prod-products-21-07-30-16"}
]
I'm trying using the first key to search (multisearch) but I'm not authorized.
The same happen if I try to export documents
GET /collections/products/documents/export
Jason
05:33 PMJason
05:35 PMgab
05:38 PMdocuments:export
/documents:get
. It seems to work with the alias. I'm curious for the regexp because I do not know the collection names.I will check if for multi search I need something like
documents:multisearch
instead of documents:search
gab
05:46 PMit works fine with an alias with
documents:search
gab
05:50 PM{
"state": 1,
"version": "0.21.0.rc24"
}
Is it possible to migrate my cloud cluster to 0.21 ?
Is there a way so I can update it myself for later version updates?
1
Jason
06:35 PMJason
06:38 PM1
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Using Aliases in Typesense Search Queries
Babin had a question about using aliases in Typesense search queries, specifically when passing collection names. Jason helped identify a misconfiguration and provided guidance, resolving the issue.
Fixing Corrupted Documents and Upgrading Typesense Cloud Version
gab had issues with corrupted documents in Typesense Cloud. Jason suggested upgrading to version 0.24.1.rc, which resolved the issue. They also discussed CORS domain management.
API Key Permissions for Typesense Docsearch Scraper
JP asked about configuring API key actions for reindexing a site using Typesense. Kishore Nallan clarified the required permission. Then, JP and Jason discussed specific permission configurations, and JP made a documentation update to illustrate their findings.
Cold Start Problem with Dynamic Collections
Adrian reported cold start issues with dynamic collections. Jason suggested using wildcard `*` for query_by parameters, upgrading to `0.25.0.rc34`, and clarified conventions. Adrian's issues were resolved but they reported a limitation that will potentially be addressed.
Resolving Issues with Infix and Prefix in Query Searches
Daren struggled with searches missing values in production. Jason and Kishore Nallan offered insights and created new features to help solve the problem, which was then tested and deployed by Daren.