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

Use bundled aggregations from server side search for threads #5743

Open
clokep opened this issue Apr 12, 2022 · 0 comments
Open

Use bundled aggregations from server side search for threads #5743

clokep opened this issue Apr 12, 2022 · 0 comments
Labels
A-Threads An issue for the Threads project T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements Z-Labs

Comments

@clokep
Copy link

clokep commented Apr 12, 2022

Your use case

What would you like to do?

#4387 implemented handling search results for threads, but only from local information. MSC3666 expanded the set of endpoints which include bundled aggregations to also include the /search endpoint. It would be good to use information returned from the server for finding threads in case the threaded events are not known locally.

Why would you like to do it?

It is likely that the homeserver has a more complete view of the room than the client (i.e. it can see the entire room history, which might not have been pulled locally). This should help render search results in a more accurate manner.

How would you like to achieve it?

Using the bundled aggregations as described in MSC2675/MSC3440, as is done for other APIs.

Have you considered any alternatives?

N/A

Additional context

No response

@clokep clokep added T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements A-Threads An issue for the Threads project labels Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Threads An issue for the Threads project T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements Z-Labs
Projects
None yet
Development

No branches or pull requests

1 participant