Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 58544 invoked from network); 2 Jan 2011 15:59:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jan 2011 15:59:39 -0000 Received: (qmail 70502 invoked by uid 500); 2 Jan 2011 15:59:37 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 70202 invoked by uid 500); 2 Jan 2011 15:59:34 -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 70190 invoked by uid 99); 2 Jan 2011 15:59:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jan 2011 15:59:33 +0000 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of erickerickson@gmail.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qy0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jan 2011 15:59:26 +0000 Received: by qyk10 with SMTP id 10so13224335qyk.14 for ; Sun, 02 Jan 2011 07:59:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=onl93/0dC3GgQIXB92kXKQE00BoiNoC3kFfZeYX9yBU=; b=O0zlcQI2fYvhjG7wdpLfnA0BpEWuO/X7egngEXhfAHvXH7GpADfUYklGrZVUBBnoVv V1qGxa9JpLH2fK1Ioi7LV36UjgliK/kC9yXbgEB527GXhwBNbh11JRviag61IFQMYv6f mLl0ZIoE8/n370bmtfjfhXtWwUFP3z4MCrGzA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=G8odVrJTq1LHTgH3aG25Iv51aZpDugbFCKCtthMB2P604NVyJGpdCYiheio9v1jISL 0JNu0mV9z0p693VxpTmrtmifyC0ZrAdbZtQ4qd5D0PWVCVicBgW9iHEgK2M+RFBWCPSr DIGqu67Sx3ufzadX4Q6MclqSTuD9MAmdHdmsk= MIME-Version: 1.0 Received: by 10.229.82.80 with SMTP id a16mr16743355qcl.76.1293983944971; Sun, 02 Jan 2011 07:59:04 -0800 (PST) Received: by 10.229.235.208 with HTTP; Sun, 2 Jan 2011 07:59:04 -0800 (PST) In-Reply-To: <1293943524498-2178710.post@n3.nabble.com> References: <151986.56456.qm@web114720.mail.gq1.yahoo.com> <1293918442597-2177453.post@n3.nabble.com> <1293943524498-2178710.post@n3.nabble.com> Date: Sun, 2 Jan 2011 10:59:04 -0500 Message-ID: Subject: Re: parsing Java log file with Lucene 3.0.3 From: Erick Erickson To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=0016364ee4046294c70498df1d4c X-Virus-Checked: Checked by ClamAV on apache.org --0016364ee4046294c70498df1d4c Content-Type: text/plain; charset=ISO-8859-1 Some days I just can't read... First question: Why do you require standard analyzer?Are you really making use of the special processing? Take a look at other analyzer options. PatternAnalyzer, SimpleAnalyzer, etc. If you really require StandardAnalyzer, consider using two fields. field_original and field_processed. Store (but don't index) the original string in field_original. pre-process and analyze (but don't store) in field_processed. Search against field_processed and display from field_original. This won't bloat your index, since the operations are orthogonal anyway. Best Erick On Sat, Jan 1, 2011 at 11:45 PM, Benzion G wrote: > > Of course I want to store and then show to user the original message. > That's > why I can't change it and the place to handle the dots is the Analyzer > area. > So how can I make the StandardAnalyzer to handle dots as commas? > -- > View this message in context: > http://lucene.472066.n3.nabble.com/parsing-Java-log-file-with-Lucene-3-0-3-tp2173046p2178710.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > --0016364ee4046294c70498df1d4c--