hi, I m using solr for searching... here I used for search names on the basis of their locations so i get response in docs list containing solrdocument like
response = {docs =[{SolrDocument[name="abcd" id=[6,6,],......},{SolrDocument[name="xyz" id=435,......},................]} at the time of getting this type of response into response.getBeans(Pojo.class) it throws exception to id field..*id=[6,6]*. my pojo is class Pojo{ @field("name") private String name; @field("id") private Integer id; . . . } So how can I resolve this exception....please help me ASAP... Thanks in advance -- View this message in context: http://lucene.472066.n3.nabble.com/Converting-solrdocument-response-into-pojo-tp4118743.html Sent from the Solr - User mailing list archive at Nabble.com.