Re: How to create a new index

2009-05-20 Thread KK
gt;> NB: I din't pay attention to change the names , so you might find the >>>> word >>>> "solr" here and there. I was using that earlier, but bcoz of lack of >>>> facility of creating new separate indexes I moved to lucene today only.

Re: How to create a new index

2009-05-20 Thread John Byrne
ry parent directories. If you want to automate the generation of the path itself, then there are several ways to do it, but the best way really depends on *why* you're generating a new index. For instance, you could just create a timestamped name, but that name might not be very meaningful. Ho

Re: How to create a new index

2009-05-20 Thread Erick Erickson
ber. Do > let > >> me > >> know if i'm going wrong anywhere of if you feel it can be done in any > >> other > >> better way. > >> > >> > >> Thanks, > >> KK. > >> > >> > >> On Wed, May 20, 2009 a

Re: How to create a new index

2009-05-20 Thread KK
ld just open the indexwriter with the last (3rd) >>> arguement as true, this way the indexwriter would create a new index as >>> soon >>> as you start indexing. Also, if you just leave the indexWriter without >>> the >>> 3rd arguement, it'd condit

Re: How to create a new index

2009-05-20 Thread John Byrne
y parent directories. If you want to automate the generation of the path itself, then there are several ways to do it, but the best way really depends on *why* you're generating a new index. For instance, you could just create a timestamped name, but that name might not be very meaningful. Hope

Re: How to create a new index

2009-05-20 Thread KK
t; } > > > > The 'mkdirs()' method creates any necessary parent directories. > > > > If you want to automate the generation of the path itself, then there are > > several ways to do it, but the best way really depends on *why* you're > > genera

Re: How to create a new index

2009-05-20 Thread Anshum
automate the generation of the path itself, then there are > several ways to do it, but the best way really depends on *why* you're > generating a new index. For instance, you could just create a timestamped > name, but that name might not be very meaningful. > > Hope that helps!

Re: How to create a new index

2009-05-20 Thread John Byrne
t helps! -John KK wrote: How to create a new index? everytime I need to do so , I've to create a new directory and put the path to that, right? how to automate the creation of new directory? I'm a new user of luce

How to create a new index

2009-05-20 Thread KK
How to create a new index? everytime I need to do so , I've to create a new directory and put the path to that, right? how to automate the creation of new directory? I'm a new user of lucene. Please help me out. Thanks, KK.