lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lboutros <boutr...@gmail.com>
Subject Re: Get groups which has the number of elements greater than...
Date Wed, 17 Dec 2014 08:37:52 GMT
Andrei,

Pivot faceting is the Solr implementation for Hierarchical Facets. I don't
think this is what you need.
Could you please describe the original use case ? Just to eliminate XY
problem.


I don't know if this is acceptable for you in term of performance but you
could try to solve your problem with two queries: 
- the first one to get facets 
- then a second one with collapsing (grouping or collapsing query parser:
https://cwiki.apache.org/confluence/display/solr/Collapse+and+Expand+Results).
The second query should be filtered with the faceting values of the first
one. It will hurt the query performances...

If you want to do it in one query, which would be far better in term of
performance, I think you will have to write some code. Did you check JIRA ?

I think this is what you are asking for :

https://issues.apache.org/jira/browse/SOLR-3152

Ludovic.




-----
Jouve
France.
--
View this message in context: http://lucene.472066.n3.nabble.com/Get-groups-which-has-the-number-of-elements-greater-than-tp4174352p4174693.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message