Grouping supports group by queries. https://cwiki.apache.org/confluence/display/solr/Result+Grouping
However you will need to form the group queries before hand. On 18 August 2014 12:47, deniz <denizdurmu...@gmail.com> wrote: > is it possible to have multiple filters/criterias on grouping? I am trying > to > do something like those, and I am assuming that from the statuses of the > tickets, it doesnt seem possible? > > https://issues.apache.org/jira/browse/SOLR-2553 > https://issues.apache.org/jira/browse/SOLR-2526 > https://issues.apache.org/jira/browse/LUCENE-3257 > > To make everything clear, here is details which I am planning to do with > Solr... > > so there is an activity feed of a site and it is basically working like > facebook or linkedin newsfeed, though there is no relationship between > users, it doesnt matter if i am following someone or not, as long as their > settings allows me to see their posts and they hit my search filter, i will > see their posts. > > the part related with grouping is tricky... so lets assume that you are > able > to see my posts, and I have posted 8 activities in the last one hour, those > activities should appear different than other posts, as it would be a > combined view of the posts... > > i.e > <deniz> > activity one > activity two > ..... > activity eight > </deniz> > <other user 1> > single activity > </other user 1> > <another user 1> > single activity > </another user 1> > <other user 2> > activity one > activity two > </other user 2> > > So here the results should be grouped depending on their post times... > > on solr (4.7.2), i am indexing activities as documents, and each document > has bunch of fields including timestamp and source_user etc etc. > > is it possible to do this on current solr? > > (in case the details are not clear, please feel free to ask for more > details > :) ) > > > > > > > > ----- > Zeki ama calismiyor... Calissa yapar... > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Grouping-based-on-multiple-filters-criterias-tp4153462.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Thanks & Regards Umesh Prasad Search l...@flipkart.com in.linkedin.com/pub/umesh-prasad/6/5bb/580/