Hi, as part of our project we are maintaining an index (using Solr and Lucence) which contain fields of type SortableIntField.

I am trying to access these fields through Pylucene, the problem I am having while doing so is that it is returning the int value as a unicode string. I am having problem converting this unicode string into the corresponding int value, I have tried all the obvious methods such as casting and stuff, but they are not working. I am wondering if any body had similar problems, googling has not helped. Any help would be appreciated.

Thanks
Sid

Reply via email to