There's an example build file, see 
<https://svn.apache.org/repos/asf/lucene/dev/trunk/lucene/contrib/ant/example.xml>

It's pretty outdated stuff there though.  It has some flexibility for a custom 
document handler in order to allow full control over how a File gets turned 
into a Lucene Document.   By default it'll handle text documents (.txt) and 
.html files using jtidy.

You're better off these days, IMO, to use Solr and its Tika integration for 
creating an index from rich files.

        Erik


On May 12, 2011, at 01:04 , Saurabh Gokhale wrote:

> Hi,
> 
> Can someone pls direct me to an example where I can get help on creating ant
> build script for creating lucene index?. It is part of Lucene contrib but I
> did not get much idea from the documentation on Lucene site.
> 
> Thanks
> 
> Saurabh


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to