parsing Java log file with Lucene 3.0.3

2010-12-31 Thread Benzion G
Hi, 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,bu

Re: parsing Java log file with Lucene 3.0.3

2010-12-31 Thread Hasan Diwan
On 31 December 2010 11:12, Benzion G 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

Re: parsing Java log file with Lucene 3.0.3

2010-12-31 Thread Erick Erickson
Have you looked at: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters Best Erick On Fri, Dec 31, 2010 at 6:12 AM, Benzion G wrote: > Hi, > > 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.la

two IndexSearchers on one dir?

2010-12-31 Thread Paul Libbrecht
Hello list, is it a good or bad thing to open to index-searchers on FSDirectories of the same path? (namely, one short-lived, one long-lived). thanks in advance paul - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apac

Re: two IndexSearchers on one dir?

2010-12-31 Thread Erick Erickson
It's not a problem, but it's best to share the underlying reader. You could open your short-lived searcher by getting a reader via getIndexReader() on your long-lived searcher What's the underlying use-case you're trying to make happen? Best Erick On Fri, Dec 31, 2010 at 8:01 PM, Paul Libbre