lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Schoy (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-3177) Excluding tagged filter in StatsComponent
Date Wed, 29 Feb 2012 11:43:58 GMT
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
            Reporter: Mark Schoy
            Priority: Minor


It would be useful to exlcude 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 display a price slider this is very useful because then you can filter the
price and nevertheless get the lower and upper bound of the unfiltered price.


--
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


Mime
View raw message