Hi Yonik, I am using Solr 1.4 release dated Feb-9 2010. There is no custom code. I am using regular out of box dismax requesthandler. The query is a simple one with 4 filter queries (fq's) and one sort query. During the index generation, I delete a set of rows based on date filter, then add new rows to the index. Then another process queries the index and generates some stats and updates the index again. Not sure if during this process something is going wrong with the index.
Thanks Kalyan -----Original Message----- From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik Seeley Sent: Tuesday, July 27, 2010 12:15 AM To: solr-user@lucene.apache.org Subject: Re: Querying throws java.util.ArrayList.RangeCheck Do you have any custom code, or is this stock solr (and which version, and what is the request)? -Yonik http://www.lucidimagination.com On Tue, Jul 27, 2010 at 12:30 AM, Manepalli, Kalyan <kalyan.manepa...@orbitz.com> wrote: > Hi, > I am stuck at this weird problem during querying. While querying the solr > index I am getting the following error. > Index: 52, Size: 16 java.lang.IndexOutOfBoundsException: Index: 52, Size: 16 > at java.util.ArrayList.RangeCheck(ArrayList.java:547) at > java.util.ArrayList.get(ArrayList.java:322) at > org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:288) at > org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:217) at > org.apache.lucene.index.SegmentReader.document(SegmentReader.java:948) at > org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:506) at > org.apache.lucene.index.IndexReader.document(IndexReader.java:947) at > org.apache.solr.search.SolrIndexReader.document(SolrIndexReader.java:444) at > > During debugging I found that the SolrIndexReader is trying to read a > document which doesnt exist in the index. > I tried optimizing the index and restarting the server but still no luck. > > Any help in resolving this issue will be appreciated. > > Thanks > Kalyan