On 31 December 2010 11:12, Benzion G <benzi...@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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to