Open paulchai opened 1 year ago
Could you try cloning this demo repo and see if you can replicate the issue: https://github.com/typesense/typesense-instantsearch-semantic-search-demo
Ok let me rewrite the issue:
I am using the vector search feature provided by Typesense InstantSearch Adapter, and I have noticed an inconsistency with the facet count display. When I perform a vector search and it returns a subset of documents, the facet count should logically update to reflect this new data set. However, it remains unchanged.
To reproduce this issue, follow these steps:
I would expect the count on the refinement list (on the left side) to update based on the vector search result, similar to the behaviour on https://ecommerce-store.typesense.org/. For example, when searching for "light weight case", the facet count for "Cell Phone Accessories" should update to reflect the number of matching results, say 1,983, instead of remaining at its original count.
Contrary to the above expectation, the facet count remains unchanged, regardless of the search result. For example, "Cell Phone Accessories" stays at 2,836.
Any updates on this? I have the same problem.
Description
When using the vector search functionality provided by the Typesense InstantSearch Adapter, I noticed that the facet count does not update based on the vector search result. The facet count remains unchanged even when the search query returns a subset of documents that should affect the facet count.
Typesense Version: