From lucene-dev-return-2229-qmlist-jakarta-archive-lucene-dev=jakarta.apache.org@jakarta.apache.org Mon Sep 02 17:14:07 2002 Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@apache.org Received: (qmail 40054 invoked from network); 2 Sep 2002 17:14:07 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 2 Sep 2002 17:14:07 -0000 Received: (qmail 3910 invoked by uid 97); 2 Sep 2002 17:14:41 -0000 Delivered-To: qmlist-jakarta-archive-lucene-dev@jakarta.apache.org Received: (qmail 3870 invoked by uid 97); 2 Sep 2002 17:14:40 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 3855 invoked by uid 98); 2 Sep 2002 17:14:39 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "Rasik Pandey" To: Cc: =?us-ascii?Q?'Frederic_Glorieux'?= Subject: Possible Bug with MultiSearcher? Date: Mon, 2 Sep 2002 19:13:39 +0200 Organization: AJLSM Message-ID: <000001c252a4$1539d120$697ba8c0@DIDEROT> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, I am getting the following exception when searching using a MultiSearcher and the first Searchable added is an empty IndexSearcher with a segments file, the second is a normal IndexSearcher from a populated Index . I am able to reproduce this without fail. The exception is thrown when trying to retrieve a document from the Hits. Is the exception really waranted, given there are hits in the second index, I don't think the search should fail completely? When searching an individual index, adding it to a Multisearcher, and performing the search causes no problems. Any help or suggestions would be appreciated. Please see org.apache.lucene.store.InputStream.java 192:46 for the location where the Exception is generated. Rasik Pandey java.io.IOException: read past EOF at org.apache.lucene.store.InputStream.refill(Unknown Source) at org.apache.lucene.store.InputStream.readByte(Unknown Source) at org.apache.lucene.store.InputStream.readInt(Unknown Source) at org.apache.lucene.store.InputStream.readLong(Unknown Source) at org.apache.lucene.index.FieldsReader.doc(Unknown Source) at org.apache.lucene.index.SegmentReader.document(Unknown Source) at org.apache.lucene.search.IndexSearcher.doc(Unknown Source) at org.apache.lucene.search.MultiSearcher.doc(Unknown Source) at org.apache.lucene.search.Hits.doc(Unknown Source) -- To unsubscribe, e-mail: For additional commands, e-mail: