[ 
https://issues.apache.org/jira/browse/SOLR-10846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16100692#comment-16100692
 ] 

Steve Rowe commented on SOLR-10846:
-----------------------------------

Marking this as a 7.0 Blocker, for error message cleanup; as Hoss wrote:

bq. If there is no straight forward way to make FileFloatSource work with Point 
fields, then ExternalFileField should throw a clear error on init if the 
true==keyFieldType.isPointField()

> ExternalFileField/FileFloatSource throws NPE if keyField is Points based
> ------------------------------------------------------------------------
>
>                 Key: SOLR-10846
>                 URL: https://issues.apache.org/jira/browse/SOLR-10846
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Hoss Man
>            Priority: Blocker
>              Labels: numeric-tries-to-points
>             Fix For: 7.0
>
>
> FileFloatSource (and by extension ExternalFileField) currently throws an NPE 
> if the {{keyField}} is Points based.
> This seems to be due to hardcoded assumptions about 
> {{MultiFields.getTerms(...)}} returning a non-null value for the keyField 
> (which I suspect could also lead to an NPE in situations where the index is 
> completley empty? ... not sure)
> In general, the error handling in FileFloatSource should be improved. 
>  
> If there is no straight forward way to make FileFloatSource work with Point 
> fields, then ExternalFileField should throw a clear error on init if the 
> {{true==keyFieldType.isPointField()}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to