My java code searches value using solr.But it gives the output in xml or jason format.I want My output as a single value so that i can store it in haspmap.Can anyone show me an example?Thanks in adavance.
You can use the JSON or GSON to convert the output into an object and then parse the object into any data structure you wish.
If you are an advanced user then you can get the results in JAVABIN FORMAT which is fast.