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

Christine Poerschke commented on SOLR-11633:
--------------------------------------------

Thanks [~wkaichan] for attaching a patch to this ticket! I'm not familiar 
enough with the area of the code to review and commit your patch but seeing it 
led me to discover the {{incompleteEnumSwitch}} in Eclipse (and LUCENE-8167 
proposes its addition to our precommit checks).

> terms component doesn't work for point-date fields
> --------------------------------------------------
>
>                 Key: SOLR-11633
>                 URL: https://issues.apache.org/jira/browse/SOLR-11633
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Schema and Analysis
>    Affects Versions: 7.0
>            Reporter: Yonik Seeley
>            Priority: Major
>         Attachments: SOLR-11633.patch
>
>
> Point-based date fields don't work with the terms component.
> {code}
> {
>   "responseHeader":{
>     "status":500,
>     "QTime":7,
>     "params":{
>       "distrib":"false",
>       "echoParams":"ALL",
>       "terms":"true",
>       "terms.fl":"manufacturedate_dt"}},
>   "terms":{},
>   "error":{
>     "trace":"java.lang.NullPointerException\n\tat 
> org.apache.solr.search.PointMerger$ValueIterator.<init>(PointMerger.java:83)\n\tat
>  
> org.apache.solr.search.PointMerger$ValueIterator.<init>(PointMerger.java:54)\n\tat
>  
> org.apache.solr.handler.component.TermsComponent.process(TermsComponent.java:167)\n\tat
>  
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:295)\n\tat
>  
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:177)\n\tat
>  org.apache.solr.core.SolrCore.execute(SolrCore.java:2484)\n\tat 
> org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:710)\n\tat 
> org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:516)\n\tat 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:382)\n\tat
>  
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:326)\n\tat
>  
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1751)\n\tat
>  
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)\n\tat
>  
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\n\tat
>  
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)\n\tat
>  
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)\n\tat
>  
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)\n\tat
>  
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)\n\tat
>  
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\n\tat
>  
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)\n\tat
>  
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat
>  
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)\n\tat
>  
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)\n\tat
>  
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)\n\tat
>  
> org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)\n\tat
>  
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)\n\tat
>  org.eclipse.jetty.server.Server.handle(Server.java:534)\n\tat 
> org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)\n\tat 
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)\n\tat
>  
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)\n\tat
>  org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)\n\tat 
> org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)\n\tat
>  
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)\n\tat
>  
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)\n\tat
>  
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)\n\tat
>  
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)\n\tat
>  
> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)\n\tat
>  java.lang.Thread.run(Thread.java:745)\n",
>     "code":500}}
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to