RE: Retrieving a float field

2007-08-09 Thread Seema Khandkar
PROTECTED] On Behalf Of Yonik Seeley Sent: Wednesday, August 08, 2007 6:43 PM To: solr-user@lucene.apache.org Subject: Re: Retrieving a float field On 8/8/07, Seema Khandkar <[EMAIL PROTECTED]> wrote: > Hi solr-users, > > If I have a float field (sfloat) stored and indexed in a solr inde

Retrieving a float field

2007-08-08 Thread Seema Khandkar
Hi solr-users, If I have a float field (sfloat) stored and indexed in a solr index, how can I retrieve it within a plugin?=20 Example: Document doc =3D solrIndexSearcher.doc(id);=20 String price =3D doc.get("price");=20 The "price" string contains garbage value. I even tried to getField and then