Re: Converting solrdocument response into pojo

2014-02-24 Thread Alexandre Rafalovitch
On Mon, Feb 24, 2014 at 8:03 PM, Navaa wrote: > So, you are probably supplying an id and then also merging doctor_id and id fields together. Which gives you two fields values in ID. I would have expected Solr to complaint about it, but either way you have a design issue here. Regards, Alex.

Re: Converting solrdocument response into pojo

2014-02-24 Thread Navaa
Thank you Alexander for your reply. Here I am posting my schema definition But I am not able to resolve this issue please tell me where I am going wrong. -- View this message in context: http://lucene.472066.n3.nabble.com/Converting-solrdocument-response-into-pojo-tp4118743p4119

Re: Converting solrdocument response into pojo

2014-02-20 Thread Alexandre Rafalovitch
Looks like at least one of your documents has multiple values in ID field (all valued as 6...) , but your POJO is expecting one. You may want to check your schema definition to ensure it does not allow multiples and also your indexing process to identify why one got through. Regards, Alex. Pers