Forums / Extensions / eZ Find / Is it possible to get facets of solr subattributes?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Is it possible to get facets of solr subattributes?

Author Message

Ivo Lukac

Wednesday 20 July 2011 5:18:47 am

Does anyone tried that or I need to dig into code? :)

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

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