lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-324) solr can't perform sort by long field
Date Mon, 22 Oct 2007 19:53:50 GMT

     [ https://issues.apache.org/jira/browse/SOLR-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Grant Ingersoll updated SOLR-324:
---------------------------------

    Attachment: SOLR-324

Requires LUCENE-1015 to be built and the respective Lucene jars to be brought into the lib
directory and the old Lucene jars to be removed.  This is a first draft, I still need to figure
out how best to test it.  


> solr can't perform sort by long field
> -------------------------------------
>
>                 Key: SOLR-324
>                 URL: https://issues.apache.org/jira/browse/SOLR-324
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>         Environment: Windows XP SP2  
> Java 1.6u1 
> solr - lastes svn version
>            Reporter: Sergey Dryganets
>             Fix For: 1.3
>
>         Attachments: SOLR-324
>
>
> when sorting results by field with type long
> throwed folowing exception
> java.lang.NumberFormatException: For input string: "1104836394000"
> 	at java.lang.NumberFormatException.forInputString(Unknown Source)
> 	at java.lang.Integer.parseInt(Unknown Source)
> 	at java.lang.Integer.parseInt(Unknown Source)
> 	at org.apache.lucene.search.FieldCacheImpl$1.parseInt(FieldCacheImpl.java:136)
> 	at org.apache.lucene.search.FieldCacheImpl$3.createValue(FieldCacheImpl.java:171)
> 	at org.apache.lucene.search.FieldCacheImpl$Cache.get(FieldCacheImpl.java:72)
> 	at org.apache.lucene.search.FieldCacheImpl.getInts(FieldCacheImpl.java:154)
> 	at org.apache.lucene.search.FieldCacheImpl.getInts(FieldCacheImpl.java:148)
> 	at org.apache.lucene.search.FieldSortedHitQueue.comparatorInt(FieldSortedHitQueue.java:204)
> 	at org.apache.lucene.search.FieldSortedHitQueue$1.createValue(FieldSortedHitQueue.java:175)
> 	at org.apache.lucene.search.FieldCacheImpl$Cache.get(FieldCacheImpl.java:72)
> 	at org.apache.lucene.search.FieldSortedHitQueue.getCachedComparator(FieldSortedHitQueue.java:155)
> 	at org.apache.lucene.search.FieldSortedHitQueue.<init>(FieldSortedHitQueue.java:56)
> 	at org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:857)
> 	at org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:805)
> 	at org.apache.solr.search.SolrIndexSearcher.getDocList(SolrIndexSearcher.java:698)
> 	at org.apache.solr.handler.StandardRequestHandler.handleRequestBody(StandardRequestHandler.java:126)
> 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:78)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:722)
> 	at org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java:64)
> 	at org.apache.solr.servlet.SolrServlet.doPost(SolrServlet.java:51)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:187)
> 	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:230)
> 	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:261)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 	at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message