Re: Converting SortableIntField to Integer (Externalizing)

2009-11-12 Thread Yonik Seeley
On Thu, Nov 12, 2009 at 8:02 AM, Chantal Ackermann wrote: > 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. These conversions should normally be done on the Solr server side (i.e. MoreLikeThis component needs a patch),

Re: Converting SortableIntField to Integer (Externalizing)

2009-11-12 Thread Chantal Ackermann
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

Re: Converting SortableIntField to Integer (Externalizing)

2009-11-10 Thread Yonik Seeley
On Tue, Nov 10, 2009 at 10:26 AM, Chantal Ackermann 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