Johannes Köhler
05/24/2022, 11:45 AMJason Bosco
05/24/2022, 11:46 AMJohannes Köhler
05/24/2022, 11:47 AMJason Bosco
05/24/2022, 11:51 AMJason Bosco
05/24/2022, 11:51 AMJohannes Köhler
05/24/2022, 11:59 AMvalue
. I want to make sure that when I start typing e.g. "a" that then only terms starting with "a" are first shown, no matter if there are other terms that include more "a" but not in the beginning.Jason Bosco
05/24/2022, 12:03 PMJohannes Köhler
05/24/2022, 12:04 PMJason Bosco
05/24/2022, 12:27 PMJohannes Köhler
05/24/2022, 12:41 PMJohannes Köhler
05/24/2022, 12:42 PMJason Bosco
05/24/2022, 1:03 PMJohannes Köhler
05/24/2022, 1:18 PMJason Bosco
05/24/2022, 1:37 PMJohannes Köhler
05/25/2022, 9:28 AMJason Bosco
05/25/2022, 12:58 PMJohannes Köhler
05/25/2022, 3:27 PMJason Bosco
05/25/2022, 3:59 PMJohannes Köhler
05/25/2022, 4:00 PMJason Bosco
05/25/2022, 4:03 PMJohannes Köhler
05/25/2022, 4:04 PMJohannes Köhler
05/26/2022, 9:42 AMJason Bosco
05/26/2022, 6:57 PM0.24.0.rc1
(this should be available on docker hub) and let me know? We made some changes to relevance algorithms there, which I think will help with your use case. This build also has a change to highlighting, where single characters are highlighted, instead of the whole work on match.Johannes Köhler
05/30/2022, 11:54 AMJason Bosco
05/30/2022, 7:10 PMquery_by: 'first_word'
and these are the results I see. Does this line up with what you're looking to do?Johannes Köhler
05/31/2022, 9:04 AMJason Bosco
05/31/2022, 3:07 PM{
search_string: "Anteriorpartoftheinferiorsurfaceofcerebrum",
display_words: "Anterior part of the inferior surface of cerebrum"
}
And then set these search params:
{
...
query_by: "search_string",
highlight_full_fields: "display_words"
}
Jason Bosco
05/31/2022, 3:08 PMJohannes Köhler
05/31/2022, 3:13 PMJason Bosco
05/31/2022, 3:13 PMJason Bosco
05/31/2022, 3:14 PMJohannes Köhler
05/31/2022, 3:17 PMJason Bosco
05/31/2022, 3:20 PMJohannes Köhler
05/31/2022, 3:25 PMJason Bosco
05/31/2022, 3:26 PMIt is more about the distance of the matching string to the beginning of the term.Yup yup. That's the general use-case.
Jason Bosco
05/31/2022, 4:27 PMJohannes Köhler
06/01/2022, 7:41 AMJohannes Köhler
06/01/2022, 2:47 PMJason Bosco
06/01/2022, 5:37 PMKishore Nallan
06/07/2022, 9:41 AMJohannes Köhler
06/07/2022, 1:26 PMKishore Nallan
06/08/2022, 1:02 PMtypesense/typesense:0.24.0.rc2
Docker build. You need to send a prioritize_token_position=true
flag to the search query to enable this feature.Johannes Köhler
06/08/2022, 1:02 PMJohannes Köhler
06/09/2022, 8:39 AMJohannes Köhler
06/09/2022, 8:41 AMKishore Nallan
06/09/2022, 9:17 AMJohannes Köhler
06/09/2022, 9:18 AMKishore Nallan
06/09/2022, 9:39 AM