You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library is very flexible, but appears to be missing the option to handle filters/facets. If someone has partially entered a search term (and autocomplete results are showing), and then filters/facets are added or changed, the autocomplete results display inconsistently and erratically. That is because some entries are cached prior to the filter/facet, but new requests are filtered.
The jquery.swiftype.js library has a function Swiftype.reloadResults() which should be called whenever a filter/facet is dynamically changed. However, there appears to be no corresponding function for this library.
I submitted a pull request that adds a function you can call Swiftype.resetAutocompleteCache() when filters/facets are changed. This will update the autocomplete search results with the new filtered entries, and reset the cache.
This library is very flexible, but appears to be missing the option to handle filters/facets. If someone has partially entered a search term (and autocomplete results are showing), and then filters/facets are added or changed, the autocomplete results display inconsistently and erratically. That is because some entries are cached prior to the filter/facet, but new requests are filtered.
The
jquery.swiftype.js
library has a functionSwiftype.reloadResults()
which should be called whenever a filter/facet is dynamically changed. However, there appears to be no corresponding function for this library.I submitted a pull request that adds a function you can call
Swiftype.resetAutocompleteCache()
when filters/facets are changed. This will update the autocomplete search results with the new filtered entries, and reset the cache.#47
The text was updated successfully, but these errors were encountered: