Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 14820 invoked from network); 8 Mar 2011 20:08:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Mar 2011 20:08:04 -0000 Received: (qmail 2855 invoked by uid 500); 8 Mar 2011 20:08:02 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 2791 invoked by uid 500); 8 Mar 2011 20:08: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 2783 invoked by uid 99); 8 Mar 2011 20:08:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 20:08:02 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLYTO,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of simon.willnauer@googlemail.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vx0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 20:07:55 +0000 Received: by vxi40 with SMTP id 40so6541894vxi.35 for ; Tue, 08 Mar 2011 12:07:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=WEI5Xq4+m2A2izHz2dwsFGAT+ZztctU36RxQlhF7P/k=; b=SaSYZ16ju8YEY8VYZUGpzwVXWI4cqS6m3dylF2MGQTZ2D92qoXCnqFzAnrWSr1hprB CicYO0/bO9l80NIa+jjP5w0qvZPOiJDfxB0Jblbl3CbvTp/T0GRWL/qZy+DFxjLPl8PL nPcx8yDLF5ocQoEsplNv1o5GLz8sSHVhDomow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; b=t2YsA6HqBQx1DMvZPl/xeYJm/PaOJ1y/xDl9pCmrRhR1YS1op2bObJ6DnteMLNTOlg Kf4l4q8tsnJmMenG+SyVn3AVn/lhl8rHmoqzF+NRLZntt6Pdl1eTYONKeYU3kit2bBGq FPHdE/Cglq+UDJ74q1/DTEhNC53Yk1/ah5DEg= MIME-Version: 1.0 Received: by 10.52.69.162 with SMTP id f2mr5575233vdu.251.1299614854836; Tue, 08 Mar 2011 12:07:34 -0800 (PST) Received: by 10.52.168.194 with HTTP; Tue, 8 Mar 2011 12:07:34 -0800 (PST) Reply-To: simon.willnauer@gmail.com In-Reply-To: References: Date: Tue, 8 Mar 2011 21:07:34 +0100 Message-ID: Subject: Re: Lucene 4.0 and WhitespaceAnalyzer From: Simon Willnauer To: java-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Why do you want to replace the WhitespaceAnalyzer? I don't really understand what you are up to. simon On Fri, Mar 4, 2011 at 3:21 PM, Patrick Diviacco wrote: > What's the best way to replace WhitespaceAnalyzer in this line in Lucene > nightly build 4.0 ? Is there a generic analyzer I can use ? > > writer = new IndexWriter(FSDirectory.open(INDEX_DIR), new > WhitespaceAnalyzer(), true, IndexWriter.MaxFieldLength.LIMITED); > > thanks > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org