Re: Querying throws java.util.ArrayList.RangeCheck
On Thu, Jul 29, 2010 at 6:37 AM, Michael McCandless wrote: > Can you run CheckIndex on the index and post the output? One of these days we need to get around to adding support for this in Solr's admin interface. http://issues.apache.org/jira/browse/SOLR-566 -Yonik http://www.lucidimagination.com
Re: Querying throws java.util.ArrayList.RangeCheck
Can you run CheckIndex on the index and post the output? Mike On Tue, Jul 27, 2010 at 5:56 PM, Manepalli, Kalyan wrote: > Yonik, > One more update on this. I used the filter query that was throwing > error and used it to delete a subset of results. > After that the queries started working correctly. > Which indicates that the particular docId was present in the index somewhere, > but lucene was not able to find it. > > -Kalyan > > > -Original Message- > From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik Seeley > Sent: Tuesday, July 27, 2010 4:46 PM > To: solr-user@lucene.apache.org > Subject: Re: Querying throws java.util.ArrayList.RangeCheck > > I haven't been able to reproduce anything... > But if you guys are sure you're not running any custom code, then > there's definitely seems to be a bug somewhere. > > Can anyone reproduce this in something you can share? > > -Yonik > http://www.lucidimagination.com >
RE: Querying throws java.util.ArrayList.RangeCheck
Yonik, One more update on this. I used the filter query that was throwing error and used it to delete a subset of results. After that the queries started working correctly. Which indicates that the particular docId was present in the index somewhere, but lucene was not able to find it. -Kalyan -Original Message- From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik Seeley Sent: Tuesday, July 27, 2010 4:46 PM To: solr-user@lucene.apache.org Subject: Re: Querying throws java.util.ArrayList.RangeCheck I haven't been able to reproduce anything... But if you guys are sure you're not running any custom code, then there's definitely seems to be a bug somewhere. Can anyone reproduce this in something you can share? -Yonik http://www.lucidimagination.com
Re: Querying throws java.util.ArrayList.RangeCheck
I haven't been able to reproduce anything... But if you guys are sure you're not running any custom code, then there's definitely seems to be a bug somewhere. Can anyone reproduce this in something you can share? -Yonik http://www.lucidimagination.com
Re: Querying throws java.util.ArrayList.RangeCheck
I am getting a similar error with today's nightly build: HTTP Status 500 - Index: 54, Size: 24 java.lang.IndexOutOfBoundsException: Index: 54, Size: 24 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:264) at I'm adding and deleting a batch of documents. Currently during indexing for each document there is a commit. In some cases the document is deleted just before it is added with a commit for the delete and a commit for the add. It appears that if I wait to commit until the end of all indexing, I avoid this error. Jason On Tue, Jul 27, 2010 at 10:25 AM, Manepalli, Kalyan wrote: > 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 > 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 >
RE: Querying throws java.util.ArrayList.RangeCheck
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 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
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 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