Adds a bunch of event handlers on searchQuery from the searchbox (add, remove and change on top of the preexisting reset).
(re)moves a few lines from the search_facet view
allows code outside of VS to change the value of existing facets and to add facets to (and remove facets from) the searchQuery collection, making it much simpler to programmatically alter the list of facets. It's also very useful to attach application-specific metadata to facets, which the rest of the application (generally the part handling the search itself) uses for special behavior.
Adds a bunch of event handlers on
searchQuery
from the searchbox (add, remove and change on top of the preexisting reset).searchQuery
collection, making it much simpler to programmatically alter the list of facets. It's also very useful to attach application-specific metadata to facets, which the rest of the application (generally the part handling the search itself) uses for special behavior.