Colin Tatro
07/18/2022, 5:50 PMtext_match
is calculated on search 🧵Colin Tatro
07/18/2022, 5:51 PM{ query_by: 'fieldA, fieldB', query_by_weights: '20,1' }
it looks like it's calculating the same text_match
score for all the records returned here in the query.Colin Tatro
07/18/2022, 5:51 PMColin Tatro
07/18/2022, 5:51 PMtext_match
score since we have more occurrences of the search term on fieldA
. Is there a way to make frequency effect the text_match
score?Jason Bosco
07/18/2022, 5:56 PMColin Tatro
07/18/2022, 5:57 PMTypesense v0.23.1
Kishore Nallan
07/19/2022, 3:09 AMColin Tatro
07/19/2022, 3:45 PMtext_match
score.Kishore Nallan
07/19/2022, 4:03 PMColin Tatro
07/19/2022, 4:12 PMColin Tatro
07/19/2022, 4:13 PMKishore Nallan
07/19/2022, 4:17 PMMark Hannallah
07/19/2022, 5:04 PMRebecca
07/19/2022, 5:21 PMKishore Nallan
07/20/2022, 9:36 AMfox
query: Typesense does not count individual occurences of the tokens since that caused relevancy issues due to keyword stuffing in real-world data sets that can be noisy.
b) The second example involving the javascript
query: since Typesense derives a text match score from the best matched field of a record, the scores are same here. This is something that I agree is not always ideal so we've to see how we can support a more fine-grain scoring that considers additional fields that match.
c) The java
query: I've to check what's happening here as the category field is weighted lower so that record must appear ahead.Mark Hannallah
07/20/2022, 1:17 PMJason Bosco
07/20/2022, 2:36 PMRebecca
07/20/2022, 2:39 PMJason Bosco
07/20/2022, 2:45 PMJason Bosco
07/21/2022, 1:56 PMColin Tatro
07/21/2022, 2:34 PMJason Bosco
07/21/2022, 2:35 PMColin Tatro
07/21/2022, 2:43 PMquery_by=title,shortDescription,description
Colin Tatro
07/21/2022, 2:44 PMColin Tatro
07/21/2022, 2:45 PMKishore Nallan
07/21/2022, 2:49 PMColin Tatro
07/21/2022, 2:52 PM### Why learn JavaScript Errors and Debugging? This course will guide you through the basics of debugging and handling JavaScript errors to build a growth mindset approach to programming and prevent a crash in your applications! ### Outcomes: Learn how to debug your code and learn to predict and handle errors in your web applications. ### Note on Prerequisites: Intermediate JavaScript is a prerequisite, and you should be comfortable with arrays, objects, and looping through arrays.
Jason Bosco
07/21/2022, 3:22 PMJason Bosco
07/21/2022, 3:23 PMColin Tatro
07/21/2022, 3:28 PMJason Bosco
07/21/2022, 3:33 PM.../api/...
endpoint as you search, copy as curl the last request and DM it to me?Jason Bosco
07/21/2022, 3:47 PM"query_by":"description,longDescription,organizationId"
in the queryJason Bosco
07/21/2022, 3:48 PM