Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D2CB2106B6 for ; Mon, 10 Jun 2013 12:36:10 +0000 (UTC) Received: (qmail 89532 invoked by uid 500); 10 Jun 2013 12:36:08 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 89050 invoked by uid 500); 10 Jun 2013 12:36:02 -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 89042 invoked by uid 99); 10 Jun 2013 12:36:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jun 2013 12:36:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of youngestachiever@gmail.com designates 209.85.215.43 as permitted sender) Received: from [209.85.215.43] (HELO mail-la0-f43.google.com) (209.85.215.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jun 2013 12:35:56 +0000 Received: by mail-la0-f43.google.com with SMTP id gw10so5706762lab.30 for ; Mon, 10 Jun 2013 05:35:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=OEULHVAr78EUmV+9ApCZysCmwVYMkIBDSqCWjUp3ggY=; b=naFlfRnkJsArtidLPu2/W/MOxuaJB/FT9NEu4nSb4wLWRIJmOvEBx0k0YhezEhn1N6 o8lyDUEJTfLGVX9Bg34jHEfOlAL7SdYXU1xv+8T0lgFWkU6kzKNumq8ncdyuFopNMnR3 K8jMJ/2o5fJtc5idCxJBuy9TItsQZTCD2BJlIO55zSPvBuRbvZdTgnYVx0oxSGMyELJJ rmQT8bhJIaRez6wy20hYCGwbebv8nKWfn1TiuzwQTWj50lo5Jb/tgsMUNvTEdW7I709Y EJQfLxVKnMWoiCMjZXr74JY995Jq4zTCI7rAzPqBcMY/aQXDKv+vXNmHWaFVl0gG43WS Tz/w== MIME-Version: 1.0 X-Received: by 10.152.29.41 with SMTP id g9mr4908937lah.44.1370867734989; Mon, 10 Jun 2013 05:35:34 -0700 (PDT) Received: by 10.114.177.101 with HTTP; Mon, 10 Jun 2013 05:35:34 -0700 (PDT) Date: Mon, 10 Jun 2013 18:05:34 +0530 Message-ID: Subject: TermsEnum close() From: Ramprakash Ramamoorthy To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=089e0158c09a60d2b204decc0433 X-Virus-Checked: Checked by ClamAV on apache.org --089e0158c09a60d2b204decc0433 Content-Type: text/plain; charset=ISO-8859-1 Dear all, We recently migrated from lucene 2.3.1 to lucene 4.1. We have a custom facet implementation, which has also been migrated. We resorted to stay with the same facet approach instead of moving to the taxonomy index style faceting. But the problem is that, whenever we do a continuous/deep drill down with the faceting module, we get a too many files open exception. This does not happen when searching multiple times through the same index. One suspect is that we had a TernEnum.close() in the earlier versions, whereas we don't have a TermsEnum.close() in the current version. Is it the TermsEnum and/or DocsEnum that is occupying namespaces? Is there a way to close the same? Please help. TIA. -- With Thanks and Regards, Ramprakash Ramamoorthy, Chennai, India --089e0158c09a60d2b204decc0433--