You'd be better off reading and selecting the syslog lines outside of
lucene. Then pass the lines you are interested in to lucene using
whatever analyzer you want.
--
Ian.
On Sun, Sep 5, 2010 at 10:09 PM, Lev Bronshtein
wrote:
>
> Hello group,
>
> I am new to Lucene and ran into a bit of trou
Hello group,
I am new to Lucene and ran into a bit of trouble while writing an app. I would
like to selectively index lines from a syslog on a unix system, to this end I
first wrote tokenizer that returns an entire line as a token extending
CharTokenizer
protected boolean isTokenChar(char