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

Jakub Ječmínek jakub.jecminek at nelasoft.cz
Wed May 29 10:32:39 CEST 2013


Thank you very much, I'll try it out.
Perhaps it would be nice to create pull request on alkacon github repo and
include this bugfix into the master, so we won't have to patch the core
manually in the future releases.

Thank you again.
Jakub

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 Carlos Merino <carlos.merino at uva.es>

>  Hello,
>     there is a bug in the core opencms class:
> org.opencms.search.solr.CmsSolrIndex
>
>     you can finde this code and delete or comment rows=ROWS_MAX or change
> the if clause conditions
>
>  // Initialize rows, offset, end and the current page.
>             int rows = query.getRows() != null ?
> query.getRows().intValue() : CmsSolrQuery.DEFAULT_ROWS.intValue();
>             if (!ignoreMaxRows && (rows > ROWS_MAX)) {
>                 //rows = ROWS_MAX;
>             }
>
> best regards
> Carlos
>
> El 29/05/13 09:21, Jakub Ječmínek escribió:
>
> 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 visithttp://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/44d6beb3/attachment.htm>


More information about the opencms-dev mailing list