yorkie-team / dashboard

Dashboard is an administrative tool that allows users to manage projects and documents with ease.
https://yorkie.dev/dashboard/
Apache License 2.0
25 stars 14 forks source link

Limit exists in the search documents result. #121

Open mihilt opened 1 year ago

mihilt commented 1 year ago

Description:

https://user-images.githubusercontent.com/50368758/236392854-de89a6d9-a5f3-42a9-b8e9-fde6cdcbad4e.mp4

Even if there are more search results, only up to 15 are shown.

And it seems that the search feature doesn't support 'like' search.

Why:

hackerwins commented 11 months ago

Supporting both pagination and text search simultaneously is challenging with only a database without introducing a search engine. Introducing a search engine can complicate the system, so we are currently not considering such an introduction.

The current document search implementation is based on prefixes and retrieves only the top 15 documents, without support for additional pagination.

However, we believe this approach may cause confusion for users, so it would be advisable to display information on the screen that informs users about the limitation of showing only 15 results.