Hi
I am using NumberUtils to encode and decode numbers while indexing and
searching, when I am going to decode the number retrieved from an index it
throws exception for some fields
the exception message is:

Caused by: java.lang.StringIndexOutOfBoundsException: String index out of
range: 1
    at java.lang.String.charAt(Unknown Source)
    at org.apache.solr.util.NumberUtils.SortableStr2int(NumberUtils.java
:125)
    at org.apache.solr.util.NumberUtils.SortableStr2int(NumberUtils.java:37)
    at com.payvand.lucene.util.ExtendedNumberUtils.decodeInteger(
ExtendedNumberUtils.java:123)


I dont know why this happen, I am wondering if it has something to do with
character encoding. have you had such problem?

thanks

-- 
Regards,
Mohammad Norouzi
--------------------------
see my blog: http://brainable.blogspot.com/
another in Persian: http://fekre-motefavet.blogspot.com/

Reply via email to