lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Thessel <mich...@gossamer-threads.com>
Subject Sorting problem
Date Wed, 07 Nov 2007 01:21:50 GMT
Hi UG,

I just installed the latest nightly solr build
(1.2.2007.11.06.08.06.05). I get an exception when I do descending
relevancy sorting. Ascending relevancy sorting works fine and sorting
on all other fields as well.

http://localhost:8080/solr/select/?q=title%3Atest&sort=score%20desc

Nov 7, 2007 1:13:36 AM org.apache.solr.common.SolrException log
SEVERE: java.lang.NullPointerException
        at org.apache.solr.search.QParser.getSort(QParser.java:158)
        at org.apache.solr.search.OldLuceneQParser.getSort(LuceneQParserPlugin.java:124)
        at org.apache.solr.handler.StandardRequestHandler.handleRequestBody(StandardRequestHandler.java:85)
        at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:117)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:811)
        at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:206)
        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:174)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
        at java.lang.Thread.run(Thread.java:595)

Nov 7, 2007 1:13:36 AM org.apache.solr.core.SolrCore execute
INFO: /select/ sort=score+desc&q=title:test 0 2
Nov 7, 2007 1:13:36 AM org.apache.solr.common.SolrException log
SEVERE: java.lang.NullPointerException
        at org.apache.solr.search.QParser.getSort(QParser.java:158)
        at org.apache.solr.search.OldLuceneQParser.getSort(LuceneQParserPlugin.java:124)
        at org.apache.solr.handler.StandardRequestHandler.handleRequestBody(StandardRequestHandler.java:85)
        at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:117)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:811)
        at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:206)
        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:174)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
        at java.lang.Thread.run(Thread.java:595)

http://localhost:8080/solr/select/?q=title%3Atest&sort=score%20asc

Nov 7, 2007 1:13:42 AM org.apache.solr.core.SolrCore execute
INFO: /select/ sort=score+asc&q=title:test 0 17


Does anyone know what could be the problem?

Thanks,

Michael



-- 
Michael Thessel <michael@gossamer-threads.com>
Gossamer Threads Inc. http://www.gossamer-threads.com/
Tel: (604) 687-5804 Fax: (604) 687-5806

Mime
View raw message