Socratees, You wrote: "Or, What if you can facet by the field, and group by the field count, then *apply facet filtering to exclude all filters with count less than 5?*" That's exactly what I want, I just couldn't figure how to do it! Any idea how could I write this query?
Best regards, Marcelo. 2013/9/27 Socratees Samipillai <ss...@outlook.com> > Hi Marcelo, > I haven't faced this exact situation before so I can only try posting my > thoughts. > Since Solr allows Result Grouping and Faceting at the same time, and since > you can apply filters on these facets, can you take advantage of that? > Or, What if you can facet by the field, and group by the field count, then > apply facet filtering to exclude all filters with count less than 5? > These links might be helpful. > http://architects.dzone.com/articles/facet-over-same-field-multiple > https://issues.apache.org/jira/browse/SOLR-2898 > Thanks, > — Socratees. > > > Date: Fri, 27 Sep 2013 20:32:22 -0300 > > Subject: Re: Hello and help :) > > From: marc...@s1mbi0se.com.br > > To: solr-user@lucene.apache.org > > > > Ssami, > > > > I work with Matheus and I am helping him to take a look at this > > problem. We took a look at result grouping, thinking it could help us, > but > > it has two drawbacks: > > > > - We cannot have multivalued fields, if I understood it correctly. But > > ok, we could manage that... > > - Suppose some query like that: > > - select count(*) NUMBER group by FIELD where CONDITION AND NUMBER > > 5 > > - In this case, we are not just taking the count for each group as > a > > result. The count actually makes part of the where clause. > > - AFAIK, result grouping doesn't allow that, although I would > really > > love to be proven wrong :D > > > > We really need this, so I am trying to figure what could I change in > > solr to make this work... Any hint on that? We would need to write a > custom > > facet / search handler / search component ? Of course we prefer a > solution > > that works with current solr features, but we could consider writing some > > custom code to do that.... > > > > Thanks in advance! > > > > Best regards, > > Marcelo Valle. > > > > > > 2013/9/27 ssami <ss...@outlook.com> > > > > > If I understand your question right, Result Grouping in Solr might help > > > you. > > > > > > Refer here > > > <https://cwiki.apache.org/confluence/display/solr/Result+Grouping> . > > > > > > > > > > > > > > > > > > -- > > > View this message in context: > > > > http://lucene.472066.n3.nabble.com/Hello-and-help-tp4092371p4092439.html > > > Sent from the Solr - User mailing list archive at Nabble.com. > > > >