Hi Yonik,

this works fine for me! However, I'm using Java/SolrJ and I have the freedom to add any necessary jars to convert the value.

But how about clients that cannot make use of FieldType? They cannot use those custom values and will be stuck at that point, isn't it?

Shall I still open a JIRA issue on that?

Cheers,
Chantal

Yonik Seeley schrieb:
On Tue, Nov 10, 2009 at 10:26 AM, Chantal Ackermann
<chantal.ackerm...@btelligent.de> wrote:
has anyone some code snippet on how to convert the String representation of
a SortableIntField (or SortableLongField or else) to a java.lang.Integer or
int?

FieldType.indexedToReadable()

-Yonik
http://www.lucidimagination.com

Reply via email to