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

Remove frontend search sorting #14898

Merged

Conversation

tsmacdonald
Copy link
Member

@tsmacdonald tsmacdonald commented Feb 19, 2021

Respect the order provided by the backend. Previously the BE would return things in a ~random order and the FE would group them by type, but we don't want that any more (soon we'll incorporate type into the BE scoring to get at the same problem)

The filtering by type in the sidebar still works as one would expect; that's why we still bother with resultsByType at all

@tsmacdonald tsmacdonald force-pushed the remove-frontend-search-sorting branch 2 times, most recently from 61a1919 to c7d23d5 Compare February 19, 2021 18:45
Respect the sorting done by the backend
@tsmacdonald tsmacdonald merged commit dbf0882 into search-stack-overflow-14852 Feb 19, 2021
@tsmacdonald tsmacdonald deleted the remove-frontend-search-sorting branch February 19, 2021 19:37
tsmacdonald added a commit that referenced this pull request Feb 22, 2021
…14894)

* Increase the memoization cache for search scoring by common subseq

Also limit the size of input it can get

(Hopefully) [Fixes #14852]

* Don't group search results by type (#14898)

Respect the sorting done by the backend
tsmacdonald added a commit that referenced this pull request Feb 22, 2021
* Use SearchResult component

Update the backend to return much richer match data

[Fixes #14832]

* Increase the memoization cache for search scoring by common subseq (#14894)

* Increase the memoization cache for search scoring by common subseq

Also limit the size of input it can get

(Hopefully) [Fixes #14852]

* Don't group search results by type (#14898)

Respect the sorting done by the backend

* Format metrics and segments in search results; DRY up the code

* Add normalizedCollection(); show "Our Analytics" collection in search results

* Use SearchResult for typeahead results too
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants