lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramires <uy...@beriltech.com>
Subject Clustering with grouping
Date Mon, 11 Apr 2011 06:12:02 GMT
hi
we use solr trunk nightly 4.0. We grouped our results with no problem. When
we try to clustering these with this
clustering?q=rose&group=true&group.field=site  we get 500 error.

Problem accessing /solr/clustering. Reason:

    null

java.lang.NullPointerException
        at
org.apache.solr.handler.clustering.ClusteringComponent.process(ClusteringComponent.java:89)
        at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:231)
        at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
        at
org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:245)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1290)
        at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:353)
        at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:248)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
        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:766)
        at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
        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:928)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
        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)


here solrconfig clustering part:

  
    
      true
      stc
      true
     
      title
      url
     
       content,url
       
       true
       
       
       
       false
       
       dismax
     explicit

        0.01
     
        content^0.5 anchor^1.0 title^1.2
     
     
        content^0.5 anchor^1.5 title^1.2 site^1.5
     
     
        recip(date,1,1000,1000)^0.3
     
     
        2<-1 5<-2 6<90%
      
     100

       *:*
       100
       score
         
    
      clustering
    
  


--
View this message in context: http://lucene.472066.n3.nabble.com/Clustering-with-grouping-tp2805496p2805496.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message