[
https://issues.apache.org/jira/browse/SOLR-5302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13827560#comment-13827560
]
Erick Erickson commented on SOLR-5302:
--------------------------------------
Test failure on Jenkins, doesn't reproduce for me though. Noticed one failure
was a 32 bit client and thought that might be relevant but it happens on a 64
bit client too.
ant test -Dtestcase=NoFacetTest -Dtests.method=stddevTest
-Dtests.seed=8DD436C49013B770 -Dtests.multiplier=3 -Dtests.slow=true
-Dtests.locale=ms_MY -Dtests.timezone=Europe/Sofia -Dtests.file.encoding=UTF-8
and did not reproduce the problem. Tried running the suite with
-Dtests.iters=100 and that succeeded too. Also tried one of the other failures
for this case,
ant test -Dtestcase=HardAutoCommitTest -Dtests.method=testCommitWithin
-Dtests.seed=E7BA795017967CA6 -Dtests.multiplier=3 -Dtests.slow=true
-Dtests.locale=iw -Dtests.timezone=Australia/Tasmania
-Dtests.file.encoding=UTF-8
and that succeeds as well.
Maybe an environment issue and/or some kind of precision problem? Here's the
tests in question:
//Float
Double floatResult = (Double)getStatResult(response, "str", "double",
"float_fd");
Double floatTest = (Double)calculateNumberStat(floatTestStart, "stddev");
assertTrue(Math.abs(floatResult-floatTest)<.00000000001);
> Analytics Component
> -------------------
>
> Key: SOLR-5302
> URL: https://issues.apache.org/jira/browse/SOLR-5302
> Project: Solr
> Issue Type: New Feature
> Reporter: Steven Bower
> Assignee: Erick Erickson
> Attachments: SOLR-5302.patch, SOLR-5302.patch, SOLR-5302.patch,
> SOLR-5302.patch, Search Analytics Component.pdf, Statistical Expressions.pdf,
> solr_analytics-2013.10.04-2.patch
>
>
> This ticket is to track a "replacement" for the StatsComponent. The
> AnalyticsComponent supports the following features:
> * All functionality of StatsComponent (SOLR-4499)
> * Field Faceting (SOLR-3435)
> ** Support for limit
> ** Sorting (bucket name or any stat in the bucket
> ** Support for offset
> * Range Faceting
> ** Supports all options of standard range faceting
> * Query Faceting (SOLR-2925)
> * Ability to use overall/field facet statistics as input to range/query
> faceting (ie calc min/max date and then facet over that range
> * Support for more complex aggregate/mapping operations (SOLR-1622)
> ** Aggregations: min, max, sum, sum-of-square, count, missing, stddev, mean,
> median, percentiles
> ** Operations: negation, abs, add, multiply, divide, power, log, date math,
> string reversal, string concat
> ** Easily pluggable framework to add additional operations
> * New / cleaner output format
> Outstanding Issues:
> * Multi-value field support for stats (supported for faceting)
> * Multi-shard support (may not be possible for some operations, eg median)
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]