Return-Path: Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 45358 invoked from network); 25 Aug 2003 00:09:10 -0000 Received: from mail15.atl.registeredsite.com (64.224.219.99) by daedalus.apache.org with SMTP; 25 Aug 2003 00:09:10 -0000 Received: from netmail.mail.registeredsite.com ([216.122.69.15]) by mail15.atl.registeredsite.com (8.12.9/8.12.9) with ESMTP id h7P09E3D022154 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Sun, 24 Aug 2003 20:09:14 -0400 Received: (qmail 57623 invoked by uid 89); 25 Aug 2003 00:12:22 -0000 Received: from unknown (HELO ehatchersolutions.com) (68.170.78.210) by mail.craftworkcom.com with SMTP; 25 Aug 2003 00:12:22 -0000 Date: Sun, 24 Aug 2003 20:09:20 -0400 Subject: Re: Hits not serializable? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Erik Hatcher To: "Lucene Users List" Content-Transfer-Encoding: 7bit In-Reply-To: <000e01c36884$8b43e440$5750bec0@fisk> Message-Id: <5FE57639-D690-11D7-8B8E-000393A564E6@ehatchersolutions.com> X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The Hits collection needs to get back to the index itself to retrieve Documents. My strategy has been to collection all the Documents from Hits as a List of Maps, and hand that back across a session bean boundary. I will look at ejindex in detail in the near future to see how it works. Erik On Friday, August 22, 2003, at 04:08 AM, Lars Hammer wrote: > Has anyone experimented with using EJB's for carrying out searches? > I'm thinking of using an EJB for carrying out the searches and return > the hits to a JSP page, which handles displaying of the results. > But Hits isn't serializable, so it cannot be used for sending across > the network from for example JBoss to Tomcat. > > Does anyone has any experience with using Lucene through EJB's .... > > Thanks in advance > > /Lars Hammer > > www.dezide.com