Re: Using Lucene to search log files

2006-12-11 Thread Grant Ingersoll
Span Queries also return positional information On Dec 11, 2006, at 12:12 PM, Steven Rowe wrote: abdul aleem wrote: How to actually retrieve the content of search, Most of the examples in Lucene in Action Searcher gives the results found in number of documents but i coudln't find an API to r

Re: Using Lucene to search log files

2006-12-11 Thread Steven Rowe
abdul aleem wrote: > How to actually retrieve the content of search, > > Most of the examples in Lucene in Action > Searcher gives the results found in number of > documents > > but i coudln't find an API to retrieve the line or > paragraph where the search is matched Hi Abdul, I don't know w

Re: Using Lucene to search log files

2006-12-11 Thread abdul aleem
sort this out. > > > > > > The latest version in SVN has changed the > default > > > QueryParser behaviour to use RangeFilters > instead of > > > RangeQuerys > > > > > > > > > > > > - Original Message > > &

Re: Using Lucene to search log files

2006-12-11 Thread Erick Erickson
g > Sent: Monday, 11 December, 2006 1:35:47 PM > Subject: RE: Using Lucene to search log files > > I would use a RangeFilter instead of using the > default Boolean query as > this will always break at some point with Too many > Boolean clauses. > Extend QueryParser to sort thi

Re: Using Lucene to search log files

2006-12-11 Thread abdul aleem
angeQuerys > > > > > > > > - Original Message ---- > > From: Mike Streeton > > <[EMAIL PROTECTED]> > > To: java-user@lucene.apache.org > > Sent: Monday, 11 December, 2006 1:35:47 PM > > Subject: RE: Using Lucene to search log files

Re: Using Lucene to search log files

2006-12-11 Thread abdul aleem
Original Message > From: Mike Streeton > <[EMAIL PROTECTED]> > To: java-user@lucene.apache.org > Sent: Monday, 11 December, 2006 1:35:47 PM > Subject: RE: Using Lucene to search log files > > I would use a RangeFilter instead of using the > default Boolean query as &

Re: Using Lucene to search log files

2006-12-11 Thread mark harwood
2006 1:35:47 PM Subject: RE: Using Lucene to search log files I would use a RangeFilter instead of using the default Boolean query as this will always break at some point with Too many Boolean clauses. Extend QueryParser to sort this out. As far as extracting information from log files I w

RE: Using Lucene to search log files

2006-12-11 Thread Mike Streeton
contents and indexing it appropriately. Hope this helps Mike www.ardentiasearch.com the home of NetSearch -Original Message- From: abdul aleem [mailto:[EMAIL PROTECTED] Sent: 11 December 2006 12:04 To: java-user@lucene.apache.org Subject: Using Lucene to search log files Hi All, Im a

Re: Using Lucene to search log files

2006-12-11 Thread abdul aleem
Many thanks Grant, I will now dirty my hands with Lucene to get our requirements regards, Abdul --- Grant Ingersoll <[EMAIL PROTECTED]> wrote: > See below > > On Dec 11, 2006, at 7:04 AM, abdul aleem wrote: > > > Hi All, > > > > Im a Lucene newbie, > > > > > > Requirement : > > ==

Re: Using Lucene to search log files

2006-12-11 Thread Erick Erickson
As far as the appropriateness of Lucene, it's an open question, but I think it'd be fine. If it isn't, you have an "interesting" problem . About timestamps. This has been discussed a LOT on the thread, since they're not as straight-forward as you might assume. See the thread *"Date ranges - getti

Re: Using Lucene to search log files

2006-12-11 Thread Grant Ingersoll
See below On Dec 11, 2006, at 7:04 AM, abdul aleem wrote: Hi All, Im a Lucene newbie, Requirement : == a) Build a log viewer tool, search log files for keywords and time stamp b) files in production approx 200 logs per day and each log file may range from 1MB - 5MB Lucene

Using Lucene to search log files

2006-12-11 Thread abdul aleem
Hi All, Im a Lucene newbie, Requirement : == a) Build a log viewer tool, search log files for keywords and time stamp b) files in production approx 200 logs per day and each log file may range from 1MB - 5MB Lucene We wanted to utilize Lucene's search capabilities espec