Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA0A59207 for ; Wed, 29 Feb 2012 12:00:21 +0000 (UTC) Received: (qmail 84550 invoked by uid 500); 29 Feb 2012 12:00:20 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 84461 invoked by uid 500); 29 Feb 2012 12:00:20 -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 84452 invoked by uid 99); 29 Feb 2012 12:00:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 12:00:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 12:00:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 569958572C for ; Wed, 29 Feb 2012 11:59:57 +0000 (UTC) Date: Wed, 29 Feb 2012 11:59:57 +0000 (UTC) From: "Mark Schoy (Updated) (JIRA)" To: dev@lucene.apache.org Message-ID: <50470791.2553.1330516797356.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1631056749.2494.1330515838205.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SOLR-3177) Excluding tagged filter in StatsComponent MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Schoy updated SOLR-3177: ----------------------------- Affects Version/s: 3.6 > Excluding tagged filter in StatsComponent > ----------------------------------------- > > Key: SOLR-3177 > URL: https://issues.apache.org/jira/browse/SOLR-3177 > Project: Solr > Issue Type: Improvement > Components: SearchComponents - other > Affects Versions: 3.5, 3.6 > Reporter: Mark Schoy > Priority: Minor > Labels: localparams, stats, statscomponent > > It would be useful to exclude the effects of some "fq" params from the set of documents used to compute stats -- similar to > how you can exclude tagged filters when generating facet counts... > https://wiki.apache.org/solr/SimpleFacetParameters#Tagging_and_excluding_Filters > So that it's possible to do something like this... > http://localhost:8983/solr/select?fq={!tag=priceFilter}price:[1 TO 20]q=*:*&stats=true&stats.field={!ex=priceFilter}price > If you want to create a price slider this is very useful because then you can filter the price ([1 TO 20) and nevertheless get the lower and upper bound of the unfiltered price (min=0, max=100): > {noformat} > |<-[-------]-------------->| > $0 $1 $20 $100 > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org