Topic
  • 1 reply
  • Latest Post - ‏2012-03-14T15:03:27Z by dschoppmann
ellisdp
ellisdp
36 Posts

Pinned topic Exception in Numeric Sort on Federated Search Results

‏2012-03-13T17:11:39Z |
Hi,

OmniFind EE 9.1.0.2 on Linux.

We are seeing the following exception in our application when sorting results of a federated search on the numeric "filesize" column:


[3/13/12 19:55:16:175 AST] 0000004d SystemErr     R com.ibm.siapi.SiapiException: Message0: SEVERITY_ERROR: Message ID: [FFQR0121E] Resource Bundle: [com.ibm.es.oss.message.FFQUserMsgs] Message Text: [] Message Arguments: Arg0: String: [merge] Arg1: String: [java.lang.NumberFormatException: For input string: 
"583.0"] Message1: SEVERITY_INFORMATIONAL: Message ID: [] Resource Bundle: [] Message Text: [com.ibm.siapi.SiapiException: Message0: SEVERITY_ERROR: Message ID: [FFQR0121E] Resource Bundle: [com.ibm.es.oss.message.FFQUserMsgs] Message Text: [] Message Arguments: Arg0: String: [merge] Arg1: String: [java.lang.NumberFormatException: For input string: 
"583.0"] at com.ibm.es.federator.FederatorImpl.mergeResultSets(FederatorImpl.java:864) at com.ibm.es.federator.FederatorImpl.search(FederatorImpl.java:1439)


Sorts on other (non numeric) fields work OK.

Our code is doing:


query.setSortKey(
"filesize"); ... resultSet = federator.search(query, collectionIDs);


I am not aware of anything we need to do differently in our code, and I believe this has worked in the past on earlier versions of OmniFind - could there be a bug in this area?

Thanks.
Updated on 2012-03-14T15:03:27Z at 2012-03-14T15:03:27Z by dschoppmann
  • dschoppmann
    dschoppmann
    8 Posts

    Re: Exception in Numeric Sort on Federated Search Results

    ‏2012-03-14T15:03:27Z  
    Please try to install the OmniFind 9.1 Fix Pack 3 and test if error still appears. If this does not solve the problem open a PMR with the stacktrace and a description of your OmniFind system.