You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Federico Fissore <fe...@fissore.org> on 2010/10/04 12:40:30 UTC
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
RE: StringIndexCache throws ArrayIndexOutOfBound
Posted by Uwe Schindler <uw...@thetaphi.de>.
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: uwe@thetaphi.de
> -----Original Message-----
> From: Federico Fissore [mailto:federico@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org