lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: parsing Java log file with Lucene 3.0.3
Date Sun, 02 Jan 2011 15:59:04 GMT
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.
SimpleAnalyzer, etc.

If you really require StandardAnalyzer, consider using two fields.
and field_processed. Store (but don't index) the original string in
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.


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:
> Sent from the Lucene - Java Users mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message