Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 46416 invoked from network); 5 Aug 2010 16:20:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Aug 2010 16:20:42 -0000 Received: (qmail 26871 invoked by uid 500); 5 Aug 2010 16:20:41 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 26825 invoked by uid 500); 5 Aug 2010 16:20:41 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 26816 invoked by uid 99); 5 Aug 2010 16:20:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 16:20:41 +0000 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_SOFTFAIL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of Eric_S_Ford@hotmail.com does not designate 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 16:20:33 +0000 Received: from joe.nabble.com ([192.168.236.151]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Oh3Ay-0005u0-Ez for users@jackrabbit.apache.org; Thu, 05 Aug 2010 09:20:12 -0700 Date: Thu, 5 Aug 2010 09:20:12 -0700 (PDT) From: Eric Ford To: users@jackrabbit.apache.org Message-ID: <1281025212456-2315091.post@n4.nabble.com> In-Reply-To: References: <1774B1C6F7D65448AE964FB69BC08AEE08E4F736@MKEXCHVS3.Mail.Fiserv.net> <1774B1C6F7D65448AE964FB69BC08AEE08E4F77E@MKEXCHVS3.Mail.Fiserv.net> <91f3b2651003110725r175c01feo3a7968dff41ba7a9@mail.gmail.com> <1774B1C6F7D65448AE964FB69BC08AEE08EB4F99@MKEXCHVS3.Mail.Fiserv.net> <91f3b2651003120622u4f0bc1d6l6c215bb31481ec67@mail.gmail.com> Subject: Re: AW: How to disable Lucene in Jackrabbit2.0.0? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I have a similar need to disable Lucene indexing, at least for a particular file/mimetype. My application generates a Word docx file that is adequate for Word to open and work with but not for Lucene. When trying to index my file Lucene goes into a death spiral in which it consumes all of the heap memory and requires a server restart. This is repeated every time the repository is accessed to display the problem file. I've tried changing the mimetype recorded with the file to "application/octet-stream" but, apparently, Lucene checks the file internals or uses the file extension and ignores what is set on the node. If anyone has a recommendation for bypassing the indexing it would be greatly appreciated. -- View this message in context: http://jackrabbit.510166.n4.nabble.com/How-to-disable-Lucene-in-Jackrabbit2-0-0-tp1589117p2315091.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.