1 Jan 2012 02:41
[jira] [Created] (SOLR-2997) Defining <uniqueKey> as a "long" type throws an error on startup
Erick Erickson (Created) (JIRA <jira <at> apache.org>
2012-01-01 01:41:30 GMT
2012-01-01 01:41:30 GMT
Defining <uniqueKey> as a "long" type throws an error on startup
----------------------------------------------------------------
Key: SOLR-2997
URL: https://issues.apache.org/jira/browse/SOLR-2997
Project: Solr
Issue Type: Bug
Affects Versions: 4.0
Reporter: Erick Erickson
Priority: Blocker
I'm looking at a client index that has the <uniqueKey> defined as a long and Solr trunk (updated 31-Dec)
blows up with the stack traces below on startup. I insured that multiValued="false" when testing.
I don't quite know anything about other types. "string" and "lowercase" (both solr.TextField) work so I'm
guessing it's really "anything other than a TextField" that blows things up.
3.x allows this, so I'm calling it a blocker. It'll certainly mess up this client if/when they go to 4.x.
Dec 31, 2011 7:59:21 PM org.apache.solr.common.SolrException log
SEVERE: java.lang.NullPointerException
at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:167)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1471)
at org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:59)
at org.apache.solr.core.SolrCore$3.call(SolrCore.java:1248)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
(Continue reading)
RSS Feed