lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc SCHNEIDER <marc.schneide...@gmail.com>
Subject Merging results of facet fields
Date Wed, 04 Jan 2012 12:45:43 GMT
Hello,

I have two fields 'product' and 'tag'.
Executing this query q=*:*&facet=true&facet.field=product&facet.field=tag
gives me this result :

<lst name="facet_fields">
  <lst name="product">
     <int name="computer">16</int>
     ...
  </lst>
  <lst name="tag">
     <int name="computer">7</int>
     ...
  </lst>
</lst>

Is there a way to group the results by value ie getting <int
name="computer">23</int>, regardless of the field names?

Thanks in advance,
Marc.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message