CDRH / lewisandclark

The Journals of the Lewis and Clark Expedition Rails Site
https://lewisandclarkjournals.unl.edu
1 stars 0 forks source link

Idea for pagination of index #172

Open karindalziel opened 7 years ago

karindalziel commented 7 years ago
screen shot 2016-11-23 at 8 20 17 pm screen shot 2016-11-23 at 8 26 47 pm
karindalziel commented 7 years ago

Alternately:

screen shot 2016-11-23 at 8 34 04 pm
karindalziel commented 7 years ago

Original index looked like this:

343478d0-99c7-11e6-9f94-e720686bb244

jduss4 commented 7 years ago

We could use the initializer to get the counts of the facets and paginate the first style with that. I think that would be quick to implement, if you want me to try. The alphabetical one might be a bit harder, but I kind of remember you finding something that allowed us to do that, @karindalziel ?

karindalziel commented 7 years ago

The thing we'll need for the alphabetical listing is https://wiki.apache.org/solr/SimpleFacetParameters#facet.prefix

However, I don't know that I want to put too much into this if the plan is to switch to the API, because it will be handled completely different :/