Share » Forums » Extensions » eZ Find » Is it possible to get facets of solr...

Is it possible to get facets of solr subattributes?

Is it possible to get facets of solr subattributes?

Wednesday 20 July 2011 5:18:47 am - 2 replies

Author Message

Matthieu Sévère

Wednesday 20 July 2011 5:30:53 am

Hello Ivo,

Yes no problem :

{def $fieldSearchFacets = array(      
hash( 'field', 'meta_path_si', 'name', 'Galaxy'|i18n('galaxy/search')),      
hash( 'field', 'subattr_tags_general___name_s', 'name', 'General'|i18n('galaxy/search')),
.....

--
eZ certified developer: http://ez.no/certification/verify/346216

Ivo Lukac

Wednesday 20 July 2011 6:36:48 am

Hello Ivo,

Yes no problem :

{def $fieldSearchFacets = array(      
hash( 'field', 'meta_path_si', 'name', 'Galaxy'|i18n('galaxy/search')),      
hash( 'field', 'subattr_tags_general___name_s', 'name', 'General'|i18n('galaxy/search')),
.....

Excellent, I wasn't 100% sure :) 

Thanks

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu