Different limits on multiple facet

Author Message

Max Keil

Wednesday 15 July 2009 3:27:31 am

Can anyone confirm that different limits on multiple facets do not working properly.

'facet', array( hash( 'field', 'class' ),
    hash( 'field', 'myclass/filter_size', 'limit', 3 ),
    hash( 'field', 'myclass/filter_material', 'limit', 25 ),
    hash( 'field', 'myclass/filter_color', 'limit', 25 )
)

In this case I getting all facets with limit 25. The request to the solr seems to be ok.

["facet.field"]=>{
    [0]=>"meta_contentclass_id_si"
    [1]=>"attr_filter_size_s"
    [2]=>"attr_filter_material_s"
    [3]=>"attr_filter_color_s"
}
["facet.limit"]=> {
    [0]=>int(20)
    [1]=>int(3)
    [2]=>int(25)
    [3]=>int(25)
}

Is this a solr problem or is eZ Find not able to set multiple limits. I found an example for this problem in eZ Find manual - but this example uses the same number for every facet.

Mit freundlichen Grüßen
Best regards

Max Keil

____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Paul Borgermans

Monday 20 July 2009 2:11:33 pm

This is a limitation in the ez find code, not Solr (which allows per facet limits)

Please file a bug report to it in the ez find issue tracker with a reference to this thread

Tx
Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Max Keil

Tuesday 21 July 2009 3:06:04 pm

Hi Paul,

thank you for your reply! I opened an issues under:

http://issues.ez.no/IssueView.php?Id=15175

Mit freundlichen Grüßen
Best regards

Max Keil

____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.