lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaliy Zhovtyuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3218) Range faceting support for CurrencyField
Date Sun, 08 Feb 2015 12:31:35 GMT

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

Vitaliy Zhovtyuk updated SOLR-3218:
-----------------------------------
    Attachment: SOLR-3218.patch

1. updated to latest trunk
2. Changed Currency.toString() to strValue so that toString is not used in range calculation
3. Added test for stats.facet in currency type
4. Added stats support for currency type, stats calculated on default currency of type.
Min, max and sum return currency value with currency code, by default value.toString() is
used to render those results, 
delegated toString to strValue
Mean, sumOfSquares, stddev just return numeric value in cents without currency code. 
(not sure that we need those for currency, i would remove them)
5. Added tests for stats on currency field


> Range faceting support for CurrencyField
> ----------------------------------------
>
>                 Key: SOLR-3218
>                 URL: https://issues.apache.org/jira/browse/SOLR-3218
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>            Reporter: Jan H√łydahl
>             Fix For: 4.9, Trunk
>
>         Attachments: SOLR-3218-1.patch, SOLR-3218-2.patch, SOLR-3218.patch, SOLR-3218.patch,
SOLR-3218.patch, SOLR-3218.patch, SOLR-3218.patch, SOLR-3218.patch
>
>
> Spinoff from SOLR-2202. Need to add range faceting capabilities for CurrencyField



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message