You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Schoy (Created) (JIRA)" <ji...@apache.org> on 2012/02/29 12:43:58 UTC

[jira] [Created] (SOLR-3177) Excluding tagged filter in StatsComponent

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


[jira] [Commented] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "CP (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219955#comment-13219955 ] 

CP commented on SOLR-3177:
--------------------------

This feature is also necessary while using multi-select range facets with facet.range to get min and max of a field to set facet.range.start and facet.range.end.
                
> 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


[jira] [Updated] (SOLR-3177) Excluding tagged filter support in StatsComponent

Posted by "Mark Schoy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Schoy updated SOLR-3177:
-----------------------------

    Summary: Excluding tagged filter support in StatsComponent  (was: Excluding tagged filter in StatsComponent)
    
> Excluding tagged filter support 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


[jira] [Updated] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "Mark Schoy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Schoy updated SOLR-3177:
-----------------------------

    Description: 
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 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 (0 TO 100):

{noformat}
|<-[-------]-------------->|
$0 $1     $20            $100
{noformat}

  was:
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 create a price slider this is very useful because then you can filter the price ([ TO 20) and nevertheless get the lower and upper bound of the unfiltered price (0 TO 100):

{noformat}
|<-[-------]-------------->|
$0 $1     $20            $100
{noformat}

    
> 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
>              Labels: localparams, statscomponent
>
> 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 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 (0 TO 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


[jira] [Updated] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "Mark Schoy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Schoy updated SOLR-3177:
-----------------------------

    Description: 
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 create 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.


  was:
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.


    
> 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
>              Labels: localparams, statscomponent
>
> 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 create 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


[jira] [Updated] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "Mark Schoy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Schoy updated SOLR-3177:
-----------------------------

    Summary: Excluding tagged filter in StatsComponent  (was: Excluding tagged filter support in StatsComponent)
    
> 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


[jira] [Updated] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "Mark Schoy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Schoy updated SOLR-3177:
-----------------------------

    Description: 
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 create 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.

  was:
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 create 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:

|<-[-------]-------------->|
$0 $1      $20            $100

    
> 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
>              Labels: localparams, statscomponent
>
> 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 create 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


[jira] [Updated] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "Mark Schoy (Updated) (JIRA)" <ji...@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


[jira] [Commented] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "Saroj Kumar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493369#comment-13493369 ] 

Saroj Kumar commented on SOLR-3177:
-----------------------------------

Yes, this feature would be really nice for use cases where you want to get stats excluding filters
                
> 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, 4.0-ALPHA
>            Reporter: Mathias H.
>            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
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


[jira] [Updated] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "Mark Schoy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Schoy updated SOLR-3177:
-----------------------------

    Description: 
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 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}

  was:
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 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 (0 TO 100):

{noformat}
|<-[-------]-------------->|
$0 $1     $20            $100
{noformat}

    
> 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
>              Labels: localparams, statscomponent
>
> 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 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


[jira] [Updated] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "Mathias H. (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mathias H. updated SOLR-3177:
-----------------------------

    Affects Version/s: 4.1
    
> 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, 4.0-ALPHA, 4.1
>            Reporter: Mathias H.
>            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
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


[jira] [Updated] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "Mark Schoy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Schoy updated SOLR-3177:
-----------------------------

    Description: 
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 create 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:

|<-[-------]-------------->|
$0 $1      $20            $100

  was:
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 create 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:

 |<-[-------]-------------->|
$0 $1      $20            $100

    
> 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
>              Labels: localparams, statscomponent
>
> 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 create 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:
> |<-[-------]-------------->|
> $0 $1      $20            $100

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


[jira] [Updated] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "Mark Schoy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Schoy updated SOLR-3177:
-----------------------------

    Description: 
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 create a price slider this is very useful because then you can filter the price ([ TO 20) and nevertheless get the lower and upper bound of the unfiltered price (0 TO 100):

{noformat}
|<-[-------]-------------->|
$0 $1     $20            $100
{noformat}

  was:
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 create 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.

    
> 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
>              Labels: localparams, statscomponent
>
> 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 create a price slider this is very useful because then you can filter the price ([ TO 20) and nevertheless get the lower and upper bound of the unfiltered price (0 TO 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


[jira] [Commented] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "Roel Arents (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487998#comment-13487998 ] 

Roel Arents commented on SOLR-3177:
-----------------------------------

This would indeed be usefull. The only alternative I see now besides having a static min and max, is firing two queries; one with and one without the fq for the price slider.

It seems to me that a large part of the code from solr.request.SimpleFacets beyond this line can be re-used in solr.handler.component.StatsComponent.
{code:java}
// figure out if we need a new base DocSet
    String excludeStr = localParams.get(CommonParams.EXCLUDE);
    if (excludeStr == null) return;
{code}
                
> 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, 4.0-ALPHA
>            Reporter: Mathias H.
>            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
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


[jira] [Updated] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "Mathias H. (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mathias H. updated SOLR-3177:
-----------------------------

    Affects Version/s: 4.0
    
> 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, 4.0
>            Reporter: Mathias H.
>            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


[jira] [Updated] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "Mark Schoy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Schoy updated SOLR-3177:
-----------------------------

    Description: 
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 create 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:

 |<-[-------]-------------->|
$0 $1      $20            $100

  was:
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 create 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.


    
> 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
>              Labels: localparams, statscomponent
>
> 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 create 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:
>  |<-[-------]-------------->|
> $0 $1      $20            $100

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


[jira] [Updated] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "Mark Schoy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Schoy updated SOLR-3177:
-----------------------------

    Description: 
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}

  was:
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 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}

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


[jira] [Comment Edited] (SOLR-3177) Excluding tagged filter in StatsComponent

Posted by "Roel Arents (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487998#comment-13487998 ] 

Roel Arents edited comment on SOLR-3177 at 10/31/12 5:45 PM:
-------------------------------------------------------------

This would indeed be useful. The only alternative I see now besides having a static min and max, is firing two queries; one with and one without the fq for the price slider.

It seems to me that a large part of the code from solr.request.SimpleFacets beyond this line can be re-used in solr.handler.component.StatsComponent. (Too bad I'm not capable enough...)
{code:java}
// figure out if we need a new base DocSet
    String excludeStr = localParams.get(CommonParams.EXCLUDE);
    if (excludeStr == null) return;
{code}
                
      was (Author: rarents):
    This would indeed be usefull. The only alternative I see now besides having a static min and max, is firing two queries; one with and one without the fq for the price slider.

It seems to me that a large part of the code from solr.request.SimpleFacets beyond this line can be re-used in solr.handler.component.StatsComponent.
{code:java}
// figure out if we need a new base DocSet
    String excludeStr = localParams.get(CommonParams.EXCLUDE);
    if (excludeStr == null) return;
{code}
                  
> 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, 4.0-ALPHA
>            Reporter: Mathias H.
>            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
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