Issues with Repeated Words and Hyphen Queries in Typesense API
TLDR JinW discusses issues with repeated word queries and hyphen-containing queries in Typesense. Kishore Nallan offers possible solutions. During the discussion, Mr seeks advice on token_separators
and how to send custom headers. Issues remain with repeated word queries.
5
2
1
Nov 01, 2021 (27 months ago)
JinW
06:17 AMKishore Nallan
06:18 AMprioritize_exact_match=true
?JinW
06:19 AMKishore Nallan
06:21 AMJinW
06:28 AMKishore Nallan
06:29 AM1
JinW
06:33 AMKishore Nallan
06:34 AMJinW
06:34 AMKishore Nallan
06:35 AMtoken_separators
3
Nov 03, 2021 (27 months ago)
Mr
05:53 AMtoken_separators
? when I create collection format or ??Kishore Nallan
06:12 AMMr
10:03 AMtoken_separators
, I can't find it in Response type (Kishore Nallan
10:03 AMMr
10:10 AM0.21
, it means I have to update to 0.22
?Kishore Nallan
10:11 AM1
Mr
10:11 AMMr
10:19 AMv0.22.0
? How can I test it ??Kishore Nallan
10:31 AMKishore Nallan
10:32 AM0.22.0.rcs22
Docker image.1
Mr
10:46 AMMr
11:23 AMKishore Nallan
11:23 AMMr
11:25 AMKishore Nallan
11:26 AMMr
06:42 PMSorry, for making a confusion here. The question sounded a bit silly without the context.
We build a proxy backend (only for read operations), and this proxy behaves as is Typesense API, so that we can use Algolia Instant Search UI lib with no customization.
The only problem is that we want to pass a bearer token in a special header so our backend proxy could process it and if it's allowed forward the request to typesense.
We couldn't find a way to send a custom header through InstantSearch API. Maybe it's better to target this question to the Algolia community, but wanted to check with you guys first. Maybe you've already faced this one before
Nov 04, 2021 (26 months ago)
JinW
07:13 AMDec 08, 2021 (25 months ago)
JinW
07:31 PMJason
08:33 PMJinW
09:11 PMJason
09:13 PMJinW
09:37 PMmerry merry
or pasta pasta
. “Merry Merry Christmas” or “Pasta Pasta” should be first in the result. boom boom
results are still not in the correct exact order.JinW
09:39 PMJason
09:40 PM1
Dec 09, 2021 (25 months ago)
Kishore Nallan
05:17 AM?prioritize_exact_match=true
?JinW
05:54 AMKishore Nallan
05:55 AMJinW
06:17 AMmong mong
. And it will never show up first.Kishore Nallan
06:17 AM1
JinW
06:19 AM{"id":"9", "title": "Mong Mong"}
{"id":"26", "title": "Mong Mong Racoon"}
{"id":"4", "title": "Mong Mong SATELLITES JAPAN"}
{"id":"18", "title": "Mong Mong Zi Zung"}
{"id":"7", "title": "Mong Mong Tapo & Raya"}
Dec 16, 2021 (25 months ago)
JinW
07:25 PMTypesense
Indexed 3011 threads (79% resolved)
Similar Threads
Phrase Search Relevancy and Weights Fix
Jan reported an issue with phrase search relevancy using Typesense Instantsearch Adapter. The problem occurred when searching phrases with double quotes. The team identified the issue to be related to weights and implemented a fix, improving the search results.
Troubleshooting Prefix Search and Exact Match Results in Typesense v0.22.0.rcs24
JinW has trouble with typesense search, notably with prefix search and exact matches. Jason clarified some things while Kishore Nallan requested more examples and suggested using a different software version. Harisaran also recommended a solution.
Resolving Multilingual Search Function in Typesense Software
Bill is having difficulty with multilingual search functionality in Typesense software. Developer Kishore Nallan suggested setting a language locale and provided a demo build. The build solution had some issues, and after multiple rounds of software updates and troubleshooting, the problem still persists.
Troubleshooting Issues with DocSearch Hits and Scraper Configuration
Rubai encountered issues with search result priorities and ellipsis. Jason helped debug the issue and suggested using different versions of typesense-docsearch.js, updating initialization parameters, and running the scraper on a Linux-based environment. The issues related to hits structure and scraper configuration were resolved.
Resolving Typesense Result Issue in Document Collection Queries
Mike was encountering errors when searching for specific query in their Typesense document collection. Jason suggested it may be due to the `drop_tokens_threshold` setting. There was a misunderstanding but after further explanation from Jason, Mike understood and decided to continue the conversation via email.