lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hasan Diwan <hasan.di...@gmail.com>
Subject Re: parsing Java log file with Lucene 3.0.3
Date Fri, 31 Dec 2010 17:10:52 GMT
On 31 December 2010 11:12, Benzion G <benzionk@yahoo.com> wrote:
> I need to parse the Java log files with Lucene 3.0.3. The StandardAnalyzer is
> OK, except it's handling of dots.
>
> E.g. it handles "java.lang.NullPointerException" as one word andĀ searching for
> "NullPointerException" will bring nothing.
>
> IĀ need an Analyzer that will work as StandardAnalyzer,but will handle dots as
> word separators (e.g. as it handles commas).

Before you hand it to the Analyzer, why not run a line.replace(".",",")?
-- 
Sent from my mobile device
Envoyait de mon telephone mobil

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message