[
https://issues.apache.org/jira/browse/SOLR-3878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Høydahl resolved SOLR-3878.
-------------------------------
Resolution: Fixed
Committed to trunk (1389659), 4.x (1389675) and 4.0.0 (1389679)
Hoss, I kept the implementation returning null as CurrencyValue as this
actually means fewer changes, and is more inline with the other range methods.
Regarding price_c:*, that did not work in 3.6 either (returns 0 hits), and does
not work now. Will file a separate issue.
Also, polishing JavaDocs can be dealt with post 4.0.0 release.
> NPE in CurrencyValue.parse() while issuing wildcard range query on a
> CurrencyField
> ----------------------------------------------------------------------------------
>
> Key: SOLR-3878
> URL: https://issues.apache.org/jira/browse/SOLR-3878
> Project: Solr
> Issue Type: Bug
> Components: query parsers
> Affects Versions: 3.6.1, 4.0-BETA
> Reporter: Miklós Márton
> Assignee: Jan Høydahl
> Priority: Critical
> Fix For: 4.0, 4.1, 5.0
>
> Attachments: SOLR-3878.patch
>
>
> According to the [wiki|http://wiki.apache.org/solr/CurrencyField#Querying]
> wildcard range queries are supported. In reality either of the following
> queries result in NPE using the example schema.
> - price_c:[* TO 1000]
> - price_c:[* TO 1000,USD]
> - price_c:[*,USD TO 1000,USD]
> - price_c:[1000 TO *]
> - price_c:[1000,USD TO *]
> - price_c:[1000,USD TO *]
--
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: [email protected]
For additional commands, e-mail: [email protected]