RE: getFieldValue always returns an ArrayList?

2011-06-16 Thread Simon, Richard T
to be returned as an ArrayList, as though it were set to true). -Rich -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Wednesday, June 15, 2011 4:25 PM To: solr-user@lucene.apache.org Subject: Re: getFieldValue always returns an ArrayList? Hmmm, I admit I'm

RE: getFieldValue always returns an ArrayList?

2011-06-16 Thread Simon, Richard T
: Simon, Richard T Subject: RE: getFieldValue always returns an ArrayList? Interesting. You guessed right. I changed multivalued to multiValued and all of a sudden I get Strings. But, doesn't multivalued default to false? In my schema, I originally did not set multivalued. I only put

RE: getFieldValue always returns an ArrayList?

2011-06-16 Thread Chris Hostetter
: and all of a sudden I get Strings. But, doesn't multivalued default to : false? In my schema, I originally did not set multivalued. I only put in : multivalued=false after I experienced this issue. That's dependent on the version of Solr, and it's is where the version property of the schema

RE: getFieldValue always returns an ArrayList?

2011-06-16 Thread Simon, Richard T
. -Rich -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Thursday, June 16, 2011 2:18 PM To: solr-user@lucene.apache.org Cc: Simon, Richard T Subject: RE: getFieldValue always returns an ArrayList? : and all of a sudden I get Strings. But, doesn't

RE: getFieldValue always returns an ArrayList?

2011-06-16 Thread Simon, Richard T
Ah! That was the problem. The version was 1.0. I'll change it to 1.2. Thanks! -Rich -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Thursday, June 16, 2011 2:33 PM To: Simon, Richard T Cc: solr-user@lucene.apache.org Subject: RE: getFieldValue always

Re: getFieldValue always returns an ArrayList?

2011-06-15 Thread Erick Erickson
Did you perhaps change the schema but not re-index? I'm grasping at straws here, but something like this might happen if part of your index has that field as a multi-valued field If that't not the problem, what version of solr are you using? I presume this is SolrJ? Best Erick On Wed, Jun

RE: getFieldValue always returns an ArrayList?

2011-06-15 Thread Simon, Richard T
- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Wednesday, June 15, 2011 3:44 PM To: solr-user@lucene.apache.org Subject: Re: getFieldValue always returns an ArrayList? Did you perhaps change the schema but not re-index? I'm grasping at straws here, but something like this might

Re: getFieldValue always returns an ArrayList?

2011-06-15 Thread Erick Erickson
[mailto:erickerick...@gmail.com] Sent: Wednesday, June 15, 2011 3:44 PM To: solr-user@lucene.apache.org Subject: Re: getFieldValue always returns an ArrayList? Did you perhaps change the schema but not re-index? I'm grasping at straws here, but something like this might happen if part