[opencms-dev] v8.list displays only 50 results, collecor ignores rows parameter

Jakub Ječmínek jakub.jecminek at nelasoft.cz
Wed May 29 09:52:27 CEST 2013


The pagination is handled by com.alkacon.v8.opencms.list, I've looked in to
its source code and there is no limit of 50 results. This seems to be
related to SolrCollector, I've found that this was discussed in the
maillling list
http://mail.opencms.org/pipermail/opencms-dev/2013q2/038241.html
When I directly entered the same solr query to handleSolrQuery it found all
the documents. <result name="response" numFound="77" start="0">


S pozdravem
Jakub Ječmínek
------------------------------------------------
NELASOFT Technologies, s.r.o.
Mob: +420 604 575 772
E-mail: jakub.jecminek at nelasoft.cz
Web: www.nelasoft.cz


2013/5/29 Arturo Martín Lladó <arturo.martin.llado at gmail.com>

> Hi, Jakub:
>
> Perhaps 50 is the maximum number of results that the collector shows per
> page.
> Have you tried to paginate the results?
>
> Maybe this can help you:
> http://marquex.es/570/easy-pagination-with-opencms
>
> Kind regards,
>
> --
> Arturo Martín Lladó
>
>
> 2013/5/29 Jakub Ječmínek <jakub.jecminek at nelasoft.cz>:
> > Hello,
> > we are using on our site v8.list for displaying all news for certain
> year.
> > For this we are using collector byQuery. It works well but it seems to
> > display only 50 results no matter what I set in the rows parameter.
> > The complete parameter(query) looks like this:
> >
> fq=type:v8pressreleases&fq=parent-folders:(/shared/.content/press-releases/
> > OR %(request.siteroot)%(link1))&fq=collector.date_prop:[1136070001000 TO
> > 1167605999000]&sort=collector.priority_prop desc, collector.date_prop
> > desc&rows=100|createPath=%(link1).html
> >
> > I don't know why the rows parameter is ignored.
> > Has anybody experienced this issue?
> > I'll be grateful for any advice.
> > Thanks.
> >
> > Jakub Ječmínek
> > ------------------------------------------------
> > NELASOFT Technologies, s.r.o.
> > Mob: +420 604 575 772
> > E-mail: jakub.jecminek at nelasoft.cz
> > Web: www.nelasoft.cz
> >
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> visit
> > http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
> >
> >
> >
> >
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130529/d1196d17/attachment.htm>


More information about the opencms-dev mailing list