lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] [Updated] (SOLR-6349) LocalParams for enabling/disabling individual stats
Date Wed, 18 Feb 2015 23:55:13 GMT


Hoss Man updated SOLR-6349:
    Attachment: SOLR-6349.patch

some mor progress auditing & enhancing the test changes in this patch...

* SolrTestCaseJ4
** revert unneccssary whitespace change
* TestDistributedSearch
** make new test queries include hard asserts on the values returned
*** even when looping over permutations of multiple stats, assert we don't get too many diff
stats back
*** this also asserts that SolrJ is well behalved for these partial stat requests (ie: 'null'
is returned for the stats we didn't ask for)
** added a request + asserts of specific stats over a field that doesn't exist

> LocalParams for enabling/disabling individual stats
> ---------------------------------------------------
>                 Key: SOLR-6349
>                 URL:
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Hoss Man
>         Attachments: SOLR-6349-tflobbe.patch, SOLR-6349-tflobbe.patch, SOLR-6349-tflobbe.patch,
SOLR-6349-xu.patch, SOLR-6349-xu.patch, SOLR-6349-xu.patch, SOLR-6349-xu.patch, SOLR-6349.patch,
SOLR-6349.patch, SOLR-6349___bad_idea_broken.patch
> Stats component currently computes all stats (except for one) every time because they
are relatively cheap, and in some cases dependent on eachother for distrib computation --
but if we start layering stats on other things it becomes unnecessarily expensive to compute
all the stats when they just want the "sum" (and it will definitely become excessively verbose
in the responses).  
> The plan here is to use local params to make this configurable.  All of the existing
stat options could be modeled as a simple boolean param, but future params (like percentiles)
might take in a more complex param value...
> Example:
> {noformat}
> stats.field={!min=true max=true percentiles='99,99.999'}price
> stats.field={!mean=true}weight
> {noformat}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message