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 97AE1200BE2 for ; Thu, 15 Dec 2016 11:04:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 96529160B10; Thu, 15 Dec 2016 10:04: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 DF2F3160B0B for ; Thu, 15 Dec 2016 11:03:59 +0100 (CET) Received: (qmail 52417 invoked by uid 500); 15 Dec 2016 10:03: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 52403 invoked by uid 99); 15 Dec 2016 10:03:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2016 10:03:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9CE072C03E2 for ; Thu, 15 Dec 2016 10:03:58 +0000 (UTC) Date: Thu, 15 Dec 2016 10:03:58 +0000 (UTC) From: "Rustam Hashimov (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SOLR-9868) RangeFacet : Use DocValues for accs and docSet collection instead of RangeQuery MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 15 Dec 2016 10:04:00 -0000 [ https://issues.apache.org/jira/browse/SOLR-9868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rustam Hashimov updated SOLR-9868: ---------------------------------- External issue URL: https://github.com/apache/lucene-solr/pull/125 > RangeFacet : Use DocValues for accs and docSet collection instead of RangeQuery > ------------------------------------------------------------------------------- > > Key: SOLR-9868 > URL: https://issues.apache.org/jira/browse/SOLR-9868 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: Facet Module > Affects Versions: master (7.0) > Reporter: Rustam Hashimov > Fix For: master (7.0) > > > RangeFacet initiates a range query for each range bucket to get the docSet. DocSet later used for accs collection. > For singleValued numeric fields, we can use docValues to find the matching slots for each doc to collect accumulators while iterating over base docSet. If there is a subFacet, docSet per range bucket can be collected from base docSet as well. > Gains : > - One iteration over base docSet vs querying over baseDocSet for each range bucket > - Memory saving If there is no subFacet, since per bucket docSet is not needed -- 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