lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Lodha" <rohit.lo...@activesensing.com>
Subject Re: indexWriter
Date Fri, 02 Feb 2007 16:08:27 GMT
flush or close the writer to create the files in the dir.

Rohit

On 2/2/07, e.j.w.vanbloem@student.utwente.nl <
e.j.w.vanbloem@student.utwente.nl> wrote:
>
> Hello,
>
> Does anyone know why this does not work?
> The fileDir is of the class File and points to an empty temp directory.
> I tried switching true and false
>
>
> import org.apache.lucene.index.IndexWriter;
>
> File indexDir = new File("c:\temp");
>
> IndexWriter writer = new IndexWriter(indexDir, new StandardAnalyzer(),
> false);
>
>
> Regards,
>
> Erik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message