You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2013/11/02 14:29:33 UTC

[jira] [Updated] (SOLR-5302) Analytics Component

     [ https://issues.apache.org/jira/browse/SOLR-5302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson updated SOLR-5302:
---------------------------------

    Attachment: SOLR-5302.patch

Please apply my updated version of the patch or make the same changes before making a new one or I'll have to re-do some work.

NOTE: This is against trunk!

Working with pre-commit:

 Changes I had to make:

A couple of files were indented with tabs. Since it's a new file, I just reformatted them.

The forbidden api checks failed on several files. Mostly requiring either Scanners to have "UTF-8" specified or String.toLowercase to have Locale.ROOT and such-like.

I did most of this on the plane ride home, and I must admit it's annoying to have precommit fail because I don't have internet connnectivity, there _must_ be a build flag somewhere.

These files have missing javadocs
     [exec]   missing: org.apache.solr.analytics.accumulator
     [exec]   missing: org.apache.solr.analytics.accumulator.facet
     [exec]   missing: org.apache.solr.analytics.expression
     [exec]   missing: org.apache.solr.analytics.plugin
     [exec]   missing: org.apache.solr.analytics.request
     [exec]   missing: org.apache.solr.analytics.statistics
     [exec]   missing: org.apache.solr.analytics.util
     [exec]   missing: org.apache.solr.analytics.util.valuesource
     [exec] 
     [exec] Missing javadocs were found!


Tests failing, and a JVM crash to boot. 

FieldFacetExrasTest fails with "unknown field int_id". There's nothing in schema-docValues.xml that would map to that field, did it get changed? Is this a difference between trunk and 4x?

 - org.apache.solr.analytics.NoFacetTest (suite)
   [junit4]   - org.apache.solr.analytics.facet.FieldFacetExtrasTest (suite)
   [junit4]   - org.apache.solr.analytics.expression.ExpressionTest (suite)
   [junit4]   - org.apache.solr.analytics.AbstractAnalyticsStatsTest.initializationError
   [junit4]   - org.apache.solr.analytics.util.valuesource.FunctionTest (suite)
   [junit4]   - org.apache.solr.analytics.facet.AbstractAnalyticsFacetTest.initializationError
   [junit4]   - org.apache.solr.analytics.facet.FieldFacetTest (suite)
   [junit4]   - org.apache.solr.analytics.facet.QueryFacetTest.queryTest
   [junit4]   - org.apache.solr.analytics.facet.RangeFacetTest (suite)

> 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, 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org