Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 2807 invoked from network); 13 Mar 2011 12:14:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Mar 2011 12:14:52 -0000 Received: (qmail 12994 invoked by uid 500); 13 Mar 2011 12:14:50 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 12944 invoked by uid 500); 13 Mar 2011 12:14:50 -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 12932 invoked by uid 99); 13 Mar 2011 12:14:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Mar 2011 12:14:50 +0000 X-ASF-Spam-Status: No, hits=2.1 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLYTO,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simon.willnauer@googlemail.com designates 209.85.212.48 as permitted sender) Received: from [209.85.212.48] (HELO mail-vw0-f48.google.com) (209.85.212.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Mar 2011 12:14:45 +0000 Received: by vws7 with SMTP id 7so2219499vws.35 for ; Sun, 13 Mar 2011 05:14:24 -0700 (PDT) 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:cc:content-type; bh=kTNH1s6JSg/QGQW60sk7c0vORBH8DaDue2BDdURroz0=; b=VC0xRZMLK1jH/JD6Yhs/QlhB5zfgQgwCIPy2N6u7rTXyafVZIaBSr/s7ENGY2EO4cI DXOn9tr2hfgwkcp2quvUBL9aqP9O8ez1NhLG9D3QYoXVh4LHdX5BU3pawKOl+rCoCqjV YQP547t+rj/SouYXyXNd+ABQo0xZoPcUkjF4o= 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:cc:content-type; b=CHs47oOfQGj8oQjYAPaiWxnBHtcMdG19bqFCu0RhJvVExkdBM3ZJMztGB09Y0UiVh5 +EuotmLx9F3TNpkVEss4c1vkkDtZo9PPVaqfj4MEBB2jb2643IJNx9VvI7nBPvI9NATC Lyrqco6sV7sGsAZRIiHix9qKqMm4cmfIvC/ak= MIME-Version: 1.0 Received: by 10.52.93.36 with SMTP id cr4mr4912262vdb.171.1300018464120; Sun, 13 Mar 2011 05:14:24 -0700 (PDT) Received: by 10.52.168.194 with HTTP; Sun, 13 Mar 2011 05:14:24 -0700 (PDT) Reply-To: simon.willnauer@gmail.com In-Reply-To: References: Date: Sun, 13 Mar 2011 13:14:24 +0100 Message-ID: Subject: Re: Lucene 4.0 and WhitespaceAnalyzer From: Simon Willnauer To: Patrick Diviacco Cc: java-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 On Sun, Mar 13, 2011 at 12:19 PM, Patrick Diviacco wrote: > Sorry, I had some issues with the mailing list and I didn't explain > properly. The reason is that I'm using the nightly built of Lucene (trunk) > and such WhitespaceAnalyzer is not there. Also, if I download the commons > analyzers library it is not there. well it should be there - look at /trunk/modules/analysis/common/src/java/org/apache/lucene/analysis/core/WhitespaceAnalyzer.java go to the trunk folder and run ant package from there this should build the analyzer-common.jar too simon > thanks > > On 9 March 2011 03:07, Simon Willnauer > wrote: >> >> 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 >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org