You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by David Bonilla <da...@bit-bang.com> on 2001/10/23 13:27:02 UTC

newbie questions

En blancoI´m trying to implement Lucene in my application but I´m really a newbie.

1) If I want to create a Index in the directory e:\Lucene, must I just do writer = new IndexWriter("E:/Lucene", null, true); ?

2) How exactly can I create a Index in a database ? Can anybody send a sample ?

3) Talking about the boolean third parameter in IndexWriter if I write writer = new IndexWriter("E:/Lucene", null, false); and the index dont exist.. is the Index created anyway ?
(I must use it to control if the index is already writed or not)

Thanks a lot !!! 
__________________________
David Bonilla Fuertes
THE BIT BANG NETWORK
http://www.bit-bang.com
Profesor Waksman, 8, 6º B
28036 Madrid
SPAIN
Tel.: (+34) 914 577 747
Móvil: 656 62 83 92
Fax: (+34) 914 586 176
__________________________