[
https://issues.apache.org/jira/browse/SOLR-10305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15935778#comment-15935778
]
David Smiley commented on SOLR-10305:
-------------------------------------
I agree it's a bug. either we should throw a helpful exception up front, or we
should support non-stored uniqueKey fields. Of course the latter would be nice
but is obviously more effort.
> uniqueKey filed store=false will throw null NullPointerException
> ----------------------------------------------------------------
>
> Key: SOLR-10305
> URL: https://issues.apache.org/jira/browse/SOLR-10305
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: 5.3.1
> Reporter: jin jing
>
> i found if set uniqueKey store=false ,when insert some index,and query as *:*
> will throw nullPointer:
> java.lang.NullPointerException
> at
> org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:1095)
> at
> org.apache.solr.handler.component.QueryComponent.handleRegularResponses(QueryComponent.java:754)
> at
> org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:733)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]