Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B1414200BF8 for ; Fri, 30 Dec 2016 02:54:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B00D7160B40; Fri, 30 Dec 2016 01:54:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0290E160B2D for ; Fri, 30 Dec 2016 02:53:59 +0100 (CET) Received: (qmail 75038 invoked by uid 500); 30 Dec 2016 01:53:58 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 75028 invoked by uid 99); 30 Dec 2016 01:53:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Dec 2016 01:53:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BC0532C03DE for ; Fri, 30 Dec 2016 01:53:58 +0000 (UTC) Date: Fri, 30 Dec 2016 01:53:58 +0000 (UTC) From: "Erick Erickson (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (SOLR-4763) Performance issue when using group.facet=true MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 30 Dec 2016 01:54:00 -0000 [ https://issues.apache.org/jira/browse/SOLR-4763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson resolved SOLR-4763. ---------------------------------- Resolution: Fixed Fix Version/s: (was: 6.0) (was: 5.5) 6.4 trunk Actually, probably previous to 6.4. The consensus seems to be use JSON facets. If JSON facets don't really answer we can re-open this > Performance issue when using group.facet=true > --------------------------------------------- > > Key: SOLR-4763 > URL: https://issues.apache.org/jira/browse/SOLR-4763 > Project: Solr > Issue Type: Bug > Affects Versions: 4.2 > Reporter: Alexander Koval > Assignee: Erick Erickson > Fix For: trunk, 6.4 > > Attachments: SOLR-4763.patch, SOLR-4763.patch, SOLR-4763.patch > > > I do not know whether this is bug or not. But calculating facets with {{group.facet=true}} is too slow. > I have query that: > {code} > "matches": 730597, > "ngroups": 24024, > {code} > 1. All queries with {{group.facet=true}}: > {code} > "QTime": 5171 > "facet": { > "time": 4716 > {code} > 2. Without {{group.facet}}: > * First query: > {code} > "QTime": 3284 > "facet": { > "time": 3104 > {code} > * Next queries: > {code} > "QTime": 230, > "facet": { > "time": 76 > {code} > So I think with {{group.facet=true}} Solr doesn't use cache to calculate facets. > Is it possible to improve performance of facets when {{group.facet=true}}? -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org