Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 24962 invoked from network); 17 Sep 2008 12:46:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Sep 2008 12:46:57 -0000 Received: (qmail 92717 invoked by uid 500); 17 Sep 2008 12:46:47 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 92687 invoked by uid 500); 17 Sep 2008 12:46:47 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 92676 invoked by uid 99); 17 Sep 2008 12:46:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2008 05:46:47 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.191.107.123] (HELO smtp140.mail.mud.yahoo.com) (209.191.107.123) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 17 Sep 2008 12:45:46 +0000 Received: (qmail 61466 invoked from network); 17 Sep 2008 12:46:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:From:To:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE; b=zUASVykFMYN8k1oY3dxZwfVhv9CTpQqHP6PMQWKe/95hi1/6GDzCTyyAxv8AbCo5ApF0P3PiuP5IqtbbhTQDJN063KILIQmkoWw0vNoswS0dPN0JzrTukoExJIOn2Qgd+Uo/s4NxsvSbdnwTl2VnjP2c2Zblj/eWiGMji5kSUrQ= ; Received: from unknown (HELO GaneshM) (emailgane@203.98.194.130 with login) by smtp140.mail.mud.yahoo.com with SMTP; 17 Sep 2008 12:46:15 -0000 X-YMail-OSG: DZJEs9YVM1k6PnkAxcAE.9Mt.679q29bk0.d5jjXo.2j81KwBxq79sj9h.Eqml_TmLbaqHE58RPsOSqqFS7vL8E2yTJVwgZkEO4JMLDO1_bTwbxOE8FocDS4gfAbN2ScZOJvc.WF8CAOd9EB5zJQ5l8aCS7LaIk- X-Yahoo-Newman-Property: ymail-3 Message-ID: <00ea01c918c3$5f8d39b0$04000100@sv.us.sonicwall.com> From: "Ganesh - yahoo" To: Subject: Exception while doing sorting Date: Wed, 17 Sep 2008 18:16:03 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Virus-Checked: Checked by ClamAV on apache.org Hello all, I am have indexed more than 4 million documents. My query fetches 300,000 hits. If i perform sorting on any field, then tomcat reports out of memory exception. Sometimes the query results may be around 1000, but sorting on any field might take more than 30 - 50 secs. I don't know what's going wrong. My index searcher is static object and it is getting refreshed every minute. JSP pages directly calls the index searcher object and performs search. Regards Ganesh Send instant messages to your online friends http://in.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org