lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Viswa S <svis...@hotmail.com>
Subject RE: Exception on distributed date facet SOLR-1709
Date Fri, 18 Mar 2011 16:19:15 GMT


Peter

I haven't, our implementation needs ZK integration.Would be great if you can  give any additional
pointers on porting this to trunk.

Thanks
Viswa


> Date: Fri, 18 Mar 2011 13:52:39 +0000
> Subject: Re: Exception on distributed date facet SOLR-1709
> From: peter.sturge@gmail.com
> To: solr-user@lucene.apache.org
> 
> Hi Viswa,
> 
> This patch was orignally built for the 3x branch, and I don't see any
> ported patch revision or testing for trunk. A lot has changed in
> faceting from 3x to trunk, so it will likely need a bit of adjusting
> to cater for these changes (e.g. deprecation of date range in favour
> of range). Have you tried this patch on 3x branch?
> 
> Thanks,
> Peter
> 
> 
> 
> On Fri, Mar 18, 2011 at 7:09 AM, Viswa S <sviswap@hotmail.com> wrote:
> > Folks,
> >
> > We are trying to do some date faceting on our distributed environment,
> > applied solr-1709 on the trunk. A date facet query throws the below
> > exception, I have attached the patched source for reference. Any help would
> > be appreciated.
> >
> > Other Info:
> > Java ver: 1_6_0_24
> > Trung change list: 1022216
> >
> >
> >
> >
> > SEVERE: java.lang.ClassCastException: java.util.Date cannot be cast to
> > java.lang.Integer
> >
> >                 at
> > org.apache.solr.handler.component.FacetComponent.countFacets(FacetComponent.java:294)
> >
> >                 at
> > org.apache.solr.handler.component.FacetComponent.handleResponses(FacetComponent.java:232)
> >
> >                 at
> > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:326)
> >
> >                 at
> > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
> >
> >                 at org.apache.solr.core.SolrCore.execute(SolrCore.java:1325)
> >
> >                 at
> > org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:337)
> >
> >                 at
> > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:240)
> >
> >                 at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> >
> >                 at
> > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
> >
> >                 at
> > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> >
> >                 at
> > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> >
> >                 at
> > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
> >
> >                 at
> > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
> >
> >                 at
> > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> >
> >                 at
> > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> >
> >                 at
> > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> >
> >                 at org.mortbay.jetty.Server.handle(Server.java:326)
> >
> >                 at
> > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> >
> >                 at
> > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
> >
> >                 at
> > org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
> >
> >                 at
> > org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> >
> >                 at
> > org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> >
> >                 at
> > org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
> >
> >                 at
> > org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> >
> >
> >
> >
> >
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message