Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E3C29266 for ; Wed, 17 Dec 2014 08:54:22 +0000 (UTC) Received: (qmail 62944 invoked by uid 500); 17 Dec 2014 08:54:16 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 62878 invoked by uid 500); 17 Dec 2014 08:54:16 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 62867 invoked by uid 99); 17 Dec 2014 08:54:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2014 08:54:15 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of andreic9203@gmail.com does not designate 162.253.133.43 as permitted sender) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2014 08:53:49 +0000 Received: from mben.nabble.com (unknown [162.253.133.72]) by mwork.nabble.com (Postfix) with ESMTP id 25BC3DF423C for ; Wed, 17 Dec 2014 00:52:49 -0800 (PST) Date: Wed, 17 Dec 2014 01:52:47 -0700 (MST) From: andreic9203 To: solr-user@lucene.apache.org Message-ID: <1418806367874-4174694.post@n3.nabble.com> In-Reply-To: <1418805472892-4174693.post@n3.nabble.com> References: <1418655105276-4174352.post@n3.nabble.com> <1418666048352-4174384.post@n3.nabble.com> <1418800816137-4174686.post@n3.nabble.com> <1418805472892-4174693.post@n3.nabble.com> Subject: Re: Get groups which has the number of elements greater than... MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, First, thank you for the quick answer. Second, This is exactly my current problem. I'm doing this with 2 queries, but with the current performance issues, I want to change the implementation. Now I am using grouping and then I take the count and set that count to the all grouped documents (as a field). And after that, I did another query to get all documents with a query based on document type and having that group count in a specific range. The issue description, is exactly what I want. I saw that yesterday, but sadly, wasn't updated for a long time :| . Thank you for your answer, You're welcome with an answer that could help. Have a nice day, Andrei -- View this message in context: http://lucene.472066.n3.nabble.com/Get-groups-which-has-the-number-of-elements-greater-than-tp4174352p4174694.html Sent from the Solr - User mailing list archive at Nabble.com.