Issue with Specific Keywords in Search Code
TLDR suraj is having difficulties with specific keywords in their search code. Jason suggested adjusting the search parameters and requested further details for troubleshooting.
Jul 26, 2023 (2 months ago)
suraj
10:02 AMwhen I search 'RTO' it only searches, RT
suraj
10:03 AMJason
04:26 PMmax_candidates=100000
as an additional search parameter?Jul 27, 2023 (2 months ago)
suraj
04:10 AMBelow is the code added
SearchParameters searchParameters = new SearchParameters().q(query.toLowerCase())
.queryBy("security_nm,symbol,brand.brandName")
.maxCandidates(100000)
.prefix("true,true,true")
// .infix("fallback,fallback,fallback")
.queryByWeights("3,2,1")
//.prioritizeExactMatch(false)
.perPage(50);
Jason
04:39 AMAug 02, 2023 (2 months ago)
suraj
04:11 AMsuraj
04:14 AMTypesense
Indexed 2776 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 Search Results for Health Products
Tom is having issues with search results when adding extra words in the query. Jason suggests using `max_candidates` and `exhaustive_search`, but needs more time to find a proper solution.
Issues With `text_match` Scoring for Search Queries in Typesense
Colin encountered issues with the `text_match` scoring on Typesense v0.23.1. Jason and Kishore Nallan identified a potential issue with numeric overflow in the text match score and applied an unverified patch. The final resolution is unclear.
Utilizing Vector Search and Word Embeddings for Comprehensive Search in Typesense
Bill sought clarification on using vector search with multiple word embeddings in Typesense and using them instead of OpenAI's embedding. Kishore Nallan and Jason informed him that their development version 0.25 supports open source embedding models. They also resolved Bill's concerns regarding search performance, language support, and limitations in the search parameters.
Multiple Filters and JSON Requests in Typesense
Manish asked about multiple filter_by arguments, JSON input, and using multisearch. Jason offered typesense documentation links, examples, and how to use JSON formatted requests with multisearch. Ed shared a similar use case.