Hi,

You dont need to go as far as Lucene for simple searching. Ant already uses
Perl5 regex's from the Jakarta ORO package in some of its tasks to pattern
match (look at the optional perforce stuff for examples) - just pass a regex
and a fileset into your task and let it do the scanning.

Les

> -----Original Message-----
> From: Mark Ayad [mailto:[EMAIL PROTECTED]]
> Sent: 17 October 2001 23:10
> To: [EMAIL PROTECTED]
> Subject: RE: search for words in a file
> 
> 
> (Ant users this is a cross sell for another Jakarta project...sorry)
> 
> Jakarta Lucene is a high-performance, full-featured text 
> search engine 
> written entirely in Java. It is a technology suitable for nearly any 
> application that requires full-text search, especially 
> cross-platform. 
> 
> http://jakarta.apache.org/lucene/index.html
> 
> ...So with Ant + Lucene you can create an search index on lets say a 
> FileSet of documents.
> 
> You sound interesed ?
> 
> -----Original Message-----
> From: T Master [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 17, 2001 11:41 PM
> To: [EMAIL PROTECTED]
> Subject: Re: search for words in a file
> 
> 
> What is Lucene?  (Other than the dairy manufacturer)
> 
> 
> ----- Original Message ----- 
> From: "Mark Ayad" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, October 17, 2001 3:15 PM
> Subject: RE: search for words in a file
> > I looking at buiding a simple search engine task using ant
> > 
> > to pass files for Lucene to process.
> > 
> > Regards
> > 
> > Mark
> 
> 
> 

Reply via email to