Re: Trying to search java.lang.NullPointerException in log file.

2013-07-22 Thread Jack Krupansky
nday, July 22, 2013 6:24 AM To: java-user@lucene.apache.org Subject: Trying to search java.lang.NullPointerException in log file. Hello. I am trying to search java.lang.NullPointerException in a log file. The log file is huge. However I am unable to search it. This is because the StandardAnalyzer

Re: Trying to search java.lang.NullPointerException in log file.

2013-07-22 Thread Jack Krupansky
it Murarka Sent: Monday, July 22, 2013 6:24 AM To: java-user@lucene.apache.org Subject: Trying to search java.lang.NullPointerException in log file. Hello. I am trying to search java.lang.NullPointerException in a log file. The log file is huge. However I am unable to search it. This is because the

Re: Trying to search java.lang.NullPointerException in log file.

2013-07-22 Thread Ankit Murarka
3 6:24 AM To: java-user@lucene.apache.org Subject: Trying to search java.lang.NullPointerException in log file. Hello. I am trying to search java.lang.NullPointerException in a log file. The log file is huge. However I am unable to search it. This is because the StandardAnalyzer must be splitting th

Re: Trying to search java.lang.NullPointerException in log file.

2013-07-22 Thread Ankit Murarka
I can easily split on periods. The standard analyzer is splitting on spaces and I can implement a custom analyzer that will split on periods. However this string will be present say suppose 3-4 times in a huge file. Now if I proceed to search other terms in this file then I may not get the pro

Re: Trying to search java.lang.NullPointerException in log file.

2013-07-22 Thread Erick Erickson
Even though you're on the Lucene list, consider installing Solr just to see the admin/analysis page to see how your index and query analysis works. There's no reason you couldn't split this up on periods into separate words and then just use phrase query to find java.lang.NullPointerException, but

Trying to search java.lang.NullPointerException in log file.

2013-07-22 Thread Ankit Murarka
Hello. I am trying to search java.lang.NullPointerException in a log file. The log file is huge. However I am unable to search it. This is because the StandardAnalyzer must be splitting the words on "SPACES" and since there is no space present here. The entire string is converted into 1 token.