Re: Porting from Solr 1.3 to 3.5

2012-06-07 Thread Ramprakash Ramamoorthy
On Thu, Jun 7, 2012 at 1:18 PM, Ramprakash Ramamoorthy < youngestachie...@gmail.com> wrote: > I am porting my app from lucene 2.X(solr 1.3) to lucene 3.X(solr 3.5). The > following is my issue. > > This one was valid in 2.X, but 3.5 throws me an error. > > IndexReader reader = IndexReader.open("/h

Porting from Solr 1.3 to 3.5

2012-06-07 Thread Ramprakash Ramamoorthy
I am porting my app from lucene 2.X(solr 1.3) to lucene 3.X(solr 3.5). The following is my issue. This one was valid in 2.X, but 3.5 throws me an error. IndexReader reader = IndexReader.open("/home/path/to/my/dataDir"); 2.X accepted a string, but 3.5 strictly wants a Directory object. I find Dir