################################################################################ Program : solr_pager Version : 0.2.2 Purpose : Pager component for SOLR License : GNU GPL v3 (see file COPYING) Author : Samuel Behan (c) 2000-2009 Web : http://devel.dob.sk/solr_pager Requirements : JAVA 1.5, SOLR 1.4, ANT ################################################################################ --------- - ABOUT - --------- solr_pager is a SOLR paging component. It adds paging records to SOLR search results, that can be easily transformed using XSLT writer. You will not need anymore to bother with slow recursive XSLT paging hacks. See PAGING for more info. ----------------- - BUG REPORTING - ----------------- Report bugs or feature request to me (Author). --------------- - INSTALATION - --------------- For use of solr_pager you might need to compile this against yours SOLR version. Altought this tarball contains some recent version of SOLR jars, they might be different and compiled version of solr_pager might not work with yours SOLR. So, you will have to copy your SOLR (located in /solr/WEB-INF/lib) jars to libs directory or alter library paths in build.xml. After this simply type $ ant This will create solr_pager.jar in dist directory, that you should copy to yours SOLR lib dir (usually /solr/WEB-INF/lib). Finaly you need to define new component that can SOLR use in solrconfig.xml: And add pager component to request processing: pager ---------------------- - SOLR QUERY OPTIONS - ---------------------- pager - number of following or preceding page starts to generate default: 0 (disabled) pager.pre - how many of preceding page starts should be generated default: 2 ---------- - PAGING - ---------- Response with start = 75 and rows = 25. 25 50 75 100 125 150 175 200 225 250 50 100 1225 4 49