Fieldcache only support documents with one value per doc! So you are adding a multivalued field, which is not supported!
----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -----Original Message----- > From: Federico Fissore [mailto:feder...@fissore.org] > Sent: Monday, October 04, 2010 12:41 PM > To: java-user@lucene.apache.org > Subject: StringIndexCache throws ArrayIndexOutOfBound > > Hello all > > We are migrating our apps from 2.4.1 to 2.9.3, removing deprecated calls so to > fast switch to 3.0.2 asap > > At startup, our apps look for the min and max value of some configured fields, > to let the user know the range of documents he/she is looking at and to filter > them > > One of these apps has a field whose min value is stored/indexed while all > other > values are just indexed > > When looking for the min/max, StringIndexCache complains > > Attached you find the test case we've used to isolate the problem. > > I'm not sure whether is we that are using lucene the wrong way (in which case > please give some advice) or it is a bug > > Looking forward for your feedback before opening a ticket on jira > > Best regards > > Federico Fissore --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org