Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that facet suggestions are relevant to the user's query #3495

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

sandbergja
Copy link
Contributor

Before this commit, the facet suggest javascript sent HTTP requests that included only the name of the facet and the fragment that the user entered to filter down the facets.

This commit also sends any URL params that were in the user's original search, so that the facet suggestions are relevant to the search, rather than being just the most popular facet values from the entire corpus.

Closes #3494

Before this commit, the facet suggest javascript sent HTTP
requests that included only the name of the facet and the
fragment that the user entered to filter down the facets.

This commit also sends any URL params that were in the user's
original search, so that the facet suggestions are relevant
to the search, rather than being just the most popular facet
values from the entire corpus.

Closes #3494
@sandbergja sandbergja force-pushed the i3494-relevant-facet-suggest branch from 607cb00 to f3a53b5 Compare January 24, 2025 13:57
@jcoyne jcoyne merged commit e5618b6 into main Jan 27, 2025
11 checks passed
@jcoyne jcoyne deleted the i3494-relevant-facet-suggest branch January 27, 2025 16:34
sandbergja added a commit that referenced this pull request Jan 30, 2025
…vant to the user's query (#3501)

* Ensure that facet suggestions are relevant to the user's query

Before this commit, the facet suggest javascript sent HTTP
requests that included only the name of the facet and the
fragment that the user entered to filter down the facets.

This commit also sends any URL params that were in the user's
original search, so that the facet suggestions are relevant
to the search, rather than being just the most popular facet
values from the entire corpus.

Closes #3494

* Put test into configured context

---------

Co-authored-by: Max Kadel <mkadel@princeton.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants