You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "jin jing (JIRA)" <ji...@apache.org> on 2017/03/16 10:05:41 UTC

[jira] [Updated] (SOLR-10305) uniqueKey filed store=false will throw null NullPointerException

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

jin jing updated SOLR-10305:
----------------------------

i think it is a bug .i think solr should give some notice or jugement when create collection if the uniqueKey is store=false. OR catch this Exception?



380382856@qq.com
 
From: Mikhail Khludnev (JIRA)
Date: 2017-03-16 17:33
To: 380382856
Subject: [jira] [Commented] (SOLR-10305) uniqueKey filed store=false will throw null NullPointerException
 
    [ https://issues.apache.org/jira/browse/SOLR-10305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15927724#comment-15927724 ] 
 
Mikhail Khludnev commented on SOLR-10305:
-----------------------------------------
 
as a workaround you can use something like {{fl=*,id:field(id)}}
 
 
 
 
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


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