IllegalArgumentException with Solrj DocumentObjectBinder

2008-07-19 Thread chris sleeman
Hi, I have a multivalued Solr text field, called 'categories', which is mapped to a String[] in my java bean. I am directly converting the search results to this bean. This works absolutely fine if the field has two or more values, but If the field has exactly one value, I get the following except

Re: IllegalArgumentException with Solrj DocumentObjectBinder

2008-07-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
it is a bug . I'll post a new patch On Sat, Jul 19, 2008 at 7:10 PM, chris sleeman <[EMAIL PROTECTED]> wrote: > Hi, > > I have a multivalued Solr text field, called 'categories', which is mapped > to a String[] in my java bean. I am directly converting the search results > to this bean. > This w

Re: IllegalArgumentException with Solrj DocumentObjectBinder

2008-07-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
meanwhile , you can manage by making the field List categories; On Sat, Jul 19, 2008 at 11:22 PM, Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> wrote: > it is a bug . I'll post a new patch > > > > On Sat, Jul 19, 2008 at 7:10 PM, chris sleeman <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I have a multi

Re: IllegalArgumentException with Solrj DocumentObjectBinder

2008-07-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
A patch is submitted in SOLR-536 On Sat, Jul 19, 2008 at 11:23 PM, Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> wrote: > meanwhile , you can manage by making the field > List categories; > > On Sat, Jul 19, 2008 at 11:22 PM, Noble Paul നോബിള്‍ नोब्ळ् > <[EMAIL PROTECTED]> wrote: >> it is a bug .

Re: IllegalArgumentException with Solrj DocumentObjectBinder

2008-07-19 Thread Ryan McKinley
committed in rev 678204 thanks nobel! On Jul 19, 2008, at 2:40 PM, Noble Paul നോബിള്‍ नोब्ळ् wrote: A patch is submitted in SOLR-536 On Sat, Jul 19, 2008 at 11:23 PM, Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> wrote: meanwhile , you can manage by making the field List categories;