Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 50436 invoked from network); 11 Aug 2010 14:16:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Aug 2010 14:16:45 -0000 Received: (qmail 63935 invoked by uid 500); 11 Aug 2010 14:16:44 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 63527 invoked by uid 500); 11 Aug 2010 14:16:41 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 63513 invoked by uid 99); 11 Aug 2010 14:16:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 14:16:41 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=10.0 tests=ALL_TRUSTED,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 14:16:38 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7BEGGrL011193 for ; Wed, 11 Aug 2010 14:16:17 GMT Message-ID: <1451484.276801281536176943.JavaMail.jira@thor> Date: Wed, 11 Aug 2010 10:16:16 -0400 (EDT) From: "Alexander Dorsk (JIRA)" To: dev@lucene.apache.org Subject: [jira] Updated: (SOLR-2038) Corrupted Index After Commit In-Reply-To: <12864521.276781281536061979.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Dorsk updated SOLR-2038: ---------------------------------- Attachment: schema.xml solrconfig.xml schema.xml and solrconfig.xml > Corrupted Index After Commit > ---------------------------- > > Key: SOLR-2038 > URL: https://issues.apache.org/jira/browse/SOLR-2038 > Project: Solr > Issue Type: Bug > Components: search, SearchComponents - other > Affects Versions: 4.0 > Environment: * solr-4.0, built on 2010-07-25 15:13:05Z > * I'll post schema.xml and solrconfig.xml separately > > * java 1.6.0_18 (OpenJDK, IcedTea6 1.8, Ubuntu 9.10) > > * Drupal 6.17 > > * Drupal Apache Solr Search Integration, built on 2010/07/25 16:16:46 > Reporter: Alexander Dorsk > Attachments: schema.xml, solrconfig.xml > > > If I run queries which have matches after I commit documents, I get IndexOutOfBounds exceptions. > This is repeatable. > ==== Details ==== > === Stack Trace === > HTTP ERROR 500 > Problem accessing /solr/select. Reason: > Index: 114, Size: 36 > java.lang.IndexOutOfBoundsException: Index: 114, Size: 36 > at java.util.ArrayList.rangeCheck(ArrayList.java:571) > at java.util.ArrayList.get(ArrayList.java:349) > at org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:264) > at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:204) > at org.apache.lucene.index.SegmentReader.document(SegmentReader.java:828) > at org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:588) > at org.apache.solr.search.SolrIndexReader.document(SolrIndexReader.java:266) > at org.apache.solr.search.SolrIndexSearcher.doc(SolrIndexSearcher.java:429) > at org.apache.solr.util.SolrPluginUtils.optimizePreFetchDocs(SolrPluginUtils.java:268) > at org.apache.solr.handler.component.QueryComponent.doPrefetch(QueryComponent.java:287) > at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:186) > at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:195) > at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1323) > at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:337) > at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:240) > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) > at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) > at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) > at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) > at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) > at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > at org.mortbay.jetty.Server.handle(Server.java:326) > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) > at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) > at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) > > > === Procedure === > Here is how I make it happen: > * create a new cck node with some custom fields > * run drupal's cron > * run a solr query that should have results. > * error message above appears. > For example, I have a cck type 'authorized term', that has all text fields. I make a new 'authorized term' and run Drupal's cron. Then I execute this query: > http://localhost:8983/solr/select?q=tape > (there should be a result for this query) > The stack trace above appears as the result. > Note that if there are no results (e.g. http://localhost:8983/solr/select?q=asdfadf) then there is no error. > If I delete the index and rebuild it, and then run the query, there are no errors and I get the results I expect. > === related === > might be related to this message? > http://lucene.472066.n3.nabble.com/Querying-throws-java-util-ArrayList-RangeCheck-td998369.html > I'm using solr-4.0 because of the lucene syntax query parsing (I need fuzzy searches). > If you need any other diagnostic info, just let me know. I'm fairly new to Solr, so my apologies if I'm missing anything. > I think you all are doing great work on the project, and Solr has already been a tremendous help to me. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org