Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 62764 invoked from network); 3 Jul 2002 15:14:00 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 Jul 2002 15:14:00 -0000 Received: (qmail 2941 invoked by uid 97); 3 Jul 2002 15:13:54 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 2792 invoked by uid 97); 3 Jul 2002 15:13:53 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 2760 invoked by uid 98); 3 Jul 2002 15:13:52 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Content-Type: text/plain; charset="iso-8859-1" From: Karl =?iso-8859-1?q?=D8ie?= Reply-To: karl@gan.no Organization: Gan Media To: "Lucene Users List" Subject: Re: SearchBean Persistence Date: Wed, 3 Jul 2002 17:15:03 +0200 User-Agent: KMail/1.4.1 References: <014a01c2229d$0c7ca3a0$0201a8c0@netframe.com> <200207031634.27669.karl@gan.no> <018c01c2229f$64df5ea0$0201a8c0@netframe.com> In-Reply-To: <018c01c2229f$64df5ea0$0201a8c0@netframe.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200207031715.03954.karl@gan.no> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N if it is a Stateful SessionBan you will have to create an EntityBean implementation with the same functionality. And then in the EJB's load() and store() you will have to serialize the array. Or if it is a CMP EJB, just declare the array as a persistent field. mvh karl On Wednesday 03 July 2002 16:39, Terry Steichen wrote: > Karl, > > Just to clarify. I have an application that runs searches as requested by > users. The application is persistent across multiple requests, so there's > no problem creating it at startup. And, given the application's > persistence, there should be no problem storing it in memory to serve > subsequent requests. I just can't figure out how to modify the SearchBean > code to do this. I seemed like it would be simple, but try as I might, > nothing has so far worked. > > Regards, > > Terry > > > ----- Original Message ----- > From: "Karl �ie" > To: "Lucene Users List" > Sent: Wednesday, July 03, 2002 10:34 AM > Subject: Re: SearchBean Persistence > > > if the array is of a serializable sort, just store it in a sql table !?! > > > > mvh karl �ie > > > > On Wednesday 03 July 2002 16:22, Terry Steichen wrote: > > > I'm using Peter's SearchBean code to sort search results. It works > > fine, > > > > but it creates the sorting field array from scratch with every > > invocation > > > > (which takes on the order of a second or so to complete - each search > > > itself takes about one tenth of that or less). While I can conduct > > several > > > > searches in the same module, I can't figure out how to persist the > > sorting > > > > field array between invocations of the search module. > > > > > > Any advice on how to do this would be much appreciated. > > > > > > Regards, > > > > > > Terry > > > > -- > > To unsubscribe, e-mail: > > > > > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: