Paginated search results #1261

Closed
opened 2018-04-03 07:29:27 +02:00 by jsigwart · 7 comments
jsigwart commented 2018-04-03 07:29:27 +02:00 (Migrated from github.com)

The Issue

Any search returns exactly 10 results. I would like to have the ability to see more than 10 results, and for the results to be paginated with navigation to move forward and backwards through the pages of results.

System Configuration

  • LBRY Daemon version: 0.19.1
  • LBRY App version: 0.21.2
  • LBRY Installation ID: 5eFxsAfhBFTKA5byNFVkGL5Lu5owWzQFthzKjRkxN2iUzWh2XNKLJAiv82mxAcq3AU
  • Operating system: Mac OS X 15.6.0

{
"id": null,
"jsonrpc": "2.0",
"result": {
"build": "release",
"ip": "xx.xx.xx.xx",
"lbrynet_version": "0.19.1",
"lbryschema_version": "0.0.15",
"lbryum_version": "3.2.0",
"os_release": "15.6.0",
"os_system": "Darwin",
"platform": "Darwin-15.6.0-x86_64-i386-64bit",
"processor": "i386",
"python_version": "2.7.13"
}
}

<!-- Thanks for reporting an issue to LBRY and helping us improve! To make it possible for us to help you, please fill out below information carefully. Before reporting any issues, please make sure that you're using the latest version. - App releases: https://github.com/lbryio/lbry-app/releases - Standalone daemon: https://github.com/lbryio/lbry/releases We are also available on live chat at https://chat.lbry.io --> ## The Issue Any search returns exactly 10 results. I would like to have the ability to see more than 10 results, and for the results to be paginated with navigation to move forward and backwards through the pages of results. ## System Configuration <!-- For the app, this info is in the About section at the bottom of the Help page. You can include a screenshot instead of typing it out --> <!-- For the daemon, run: curl 'http://localhost:5279' --data '{"method":"version"}' and include the full output --> - LBRY Daemon version: 0.19.1 - LBRY App version: 0.21.2 - LBRY Installation ID: 5eFxsAfhBFTKA5byNFVkGL5Lu5owWzQFthzKjRkxN2iUzWh2XNKLJAiv82mxAcq3AU - Operating system: Mac OS X 15.6.0 { "id": null, "jsonrpc": "2.0", "result": { "build": "release", "ip": "xx.xx.xx.xx", "lbrynet_version": "0.19.1", "lbryschema_version": "0.0.15", "lbryum_version": "3.2.0", "os_release": "15.6.0", "os_system": "Darwin", "platform": "Darwin-15.6.0-x86_64-i386-64bit", "processor": "i386", "python_version": "2.7.13" } }
kauffj commented 2018-04-03 16:08:18 +02:00 (Migrated from github.com)

Did we lose this feature? It used to page

Did we lose this feature? It used to page
tzarebczan commented 2018-04-03 17:40:07 +02:00 (Migrated from github.com)

I don't think we ever showed more than 10 results on search. This is something @seanyesmunt is aware of .

I don't think we ever showed more than 10 results on search. This is something @seanyesmunt is aware of .
tiger5226 commented 2018-04-27 02:22:44 +02:00 (Migrated from github.com)

The search api does support pagination and custom sized results.

https://lighthouse.lbry.io/search?s=bitcoin&size=100&from=10

There was a comment issue that was preventing these values received from the api from being sent to elastic search and has now been corrected. It should be live soon. Not sure what the apps support for this feature of the api is. I see pagination in other areas of the app so maybe it was just hidden due to only 10 results being shown.

The search api does support pagination and custom sized results. `https://lighthouse.lbry.io/search?s=bitcoin&size=100&from=10` There was a comment issue that was preventing these values received from the api from being sent to elastic search and has now been corrected. It should be live soon. Not sure what the apps support for this feature of the api is. I see pagination in other areas of the app so maybe it was just hidden due to only 10 results being shown.
tzarebczan commented 2018-04-27 02:24:57 +02:00 (Migrated from github.com)

Thanks @tiger5226, was just about to post here too haha. Bonus points for you, thanks for following up!

Thanks @tiger5226, was just about to post here too haha. Bonus points for you, thanks for following up!
tiger5226 commented 2018-04-30 01:35:33 +02:00 (Migrated from github.com)

The changes for lighthouse are now live and pagination is working from the api.

However, in testing the app our original expectations are true. The app does not support pagination in search results. Excited to get this in the app! Search is soooo much better now, and users are missing out because they can only discover the tip of the iceberg(10 results). Go app team!!

The changes for lighthouse are now live and pagination is working from the api. However, in testing the app our original expectations are true. The app does not support pagination in search results. Excited to get this in the app! Search is soooo much better now, and users are missing out because they can only discover the tip of the iceberg(10 results). Go app team!!
tzarebczan commented 2018-06-28 21:07:52 +02:00 (Migrated from github.com)

With the setting for # of search results, we don't believe we need pagination. @tiger5226 what do you think?

With the setting for # of search results, we don't believe we need pagination. @tiger5226 what do you think?
tiger5226 commented 2018-06-30 01:12:42 +02:00 (Migrated from github.com)

I think it is much less important, but probably a nice to have. If you want to see 1000k results the loading of that will take a minute. Pagination allows for faster iteration of results. It is more of a formality now though. Happy to close this for now until we get through some of the more important issues. We can reopen if this becomes more important.

I think it is much less important, but probably a nice to have. If you want to see 1000k results the loading of that will take a minute. Pagination allows for faster iteration of results. It is more of a formality now though. Happy to close this for now until we get through some of the more important issues. We can reopen if this becomes more important.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#1261
No description provided.