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 getting the string value of the field with no luck. It looks very straightforward, so don't know what I am missing. Ideally I would like to restrict the fields I get back but that does not work either. I get back all fields for that document. Document doc =3D solrIndexSearcher.doc(id, fields); // gives back all fields If someone can even point me to the correct javadocs, that would be great. Thanks.