Closed junelmujar closed 3 years ago
@junelmujar I just published v1.2.2-0 that adds text_match
to all the results. Could you let me know if that works?
Hi @jasonbosco. Thanks for this mate.
I tried it today and I got this error: Uncaught ReferenceError: TypesenseInstantsearchAdapter is not defined...
I also got the same error yesterday when I did my own build of the library with my changes.
I'm using this version of instantsearch btw:
Looks like there's a typo - the S
in InstantSearch needs to capitalized. So you want to do new TypesenseInstantSearchAdapter
Confirming that it's working now. Thanks a lot @jasonbosco 👍
Hello!
I would like to know if this if there a way to access the text_match score under the transformItems() when using Instantsearch + Typesense adapter. The purpose of this to do additional client side sorting on the results. I can see in the returned XHR result that the text_match score is returned + document fields and values. If I do console.log(items) under the transformItems() function, there is no text_match score.
Sample code below.
Additional info:
Typsense Cloud Beta Client: Instantsearch.js + Instantsearch Typesense adapter