ArtResearch / artresearch.net

ArtResearch ResearchSpace application hosted at https://artresearch.net
5 stars 1 forks source link

Pagination Numbering #288

Open MinadakisNikos opened 3 years ago

MinadakisNikos commented 3 years ago

Could we add more than 10 pages in the pagination of results?

And also for the cases that we exceed our limit (for example more than 1000 or 10000) we could have something like displaying 10.000 out of 35.900.

ges=false&keyword=leonardo&uri=Default%3ASearchSimple&semanticSearch=N4IgZiBcDaC6A0IBOBTAzgVwDYBcrAF9EATAQx1LRRzSjkVKwEsBzAOwFsU29JQAVKCAAi5UgDoAsqQCeAIxQhEANXwEiIFklIAHABYBlAMYB7HSgMpSSI3vwhBkEWKmyFSkKr7qCQA

AndreasMichelakis commented 3 years ago

@MinadakisNikos Pagination is not configurable as we use the component of ResearchSpace. Maybe this is a feature request we should open in ResearchSpace repo.

Regarding the count, since we use Ephedra & SOLR and request a specific amount of results i.e. 1000, this is what we receive. The only way to know the true count of results is to run the same query with a higher limit i.e. 10000, then count and display the number. The latter have been tested and adds a significant amount of waiting time.

Again, counting results was a feature provided by ResearchSpace that does not seem to work now either for Ephedra, BDS or simple SPARQL query. So we have to make an additional query to count results.

lklic commented 3 years ago

can you create a test page with a search that does not have any limits? This way we can test the performance.

Thanks

AndreasMichelakis commented 3 years ago

In order to solve the count limit and provide the user with a better image of the system status we can do the following:"

When all results are visible (until 1000)

image

When the first 1000 results are visible:

image

When the first 1000 results are visible and we are limited to SOLR:

image

sophisid commented 3 years ago

Made SearchSimpleTest page with no limits at "RowsNumber". You can test it by adding a url parameter &row=the_number_of_rows. Screenshot 2021-10-27 122515 Screenshot 2021-10-27 122613